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:
Tim van der Meij 2021-08-01 18:40:32 +02:00 committed by GitHub
commit 4cdac66663
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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];