Skip to content

Commit

Permalink
test: ignore regex rule for no spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
danielleadams committed Feb 1, 2022
1 parent c43e583 commit 88f8e97
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/parallel/test-v8-untrusted-code-mitigations.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,5 @@ assert.notStrictEqual(untrustedFlag, -1);
const nextFlag = v8Options.indexOf('--', untrustedFlag + 2);
const slice = v8Options.substring(untrustedFlag, nextFlag);

// eslint-disable-next-line no-regex-spaces
assert(slice.match(/type: bool default: false/));

0 comments on commit 88f8e97

Please sign in to comment.