Skip to content

Commit

Permalink
test: add ignore for regex space rule
Browse files Browse the repository at this point in the history
PR-URL: #41805
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
  • Loading branch information
danielleadams committed Feb 5, 2022
1 parent 283f1e8 commit 1de552c
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 1de552c

Please sign in to comment.