mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-19 22:58:07 +02:00
Merge pull request #13839 from Snuffleupagus/issue-13838
Fix a broken regular expression in the `docId` unit-test (issue 13838, PR 13813 follow-up)
This commit is contained in:
commit
4cdac66663
1 changed files with 1 additions and 1 deletions
|
@ -397,7 +397,7 @@ describe("api", function () {
|
|||
|
||||
expect(docId1).not.toEqual(docId2);
|
||||
|
||||
const docIdRegExp = /^d(\d)+$/,
|
||||
const docIdRegExp = /^d(\d+)$/,
|
||||
docNum1 = docIdRegExp.exec(docId1)?.[1],
|
||||
docNum2 = docIdRegExp.exec(docId2)?.[1];
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue