test: add ignore for regex space rule

PR-URL: https://github.com/nodejs/node/pull/41805
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
This commit is contained in:
Danielle Adams committed 2022-02-05 18:20:47 -05:00
1 parent 283f1e8721
commit 1de552caeb
1 file changed
+1
@@ -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/));