Skip to content

Commit 9aa1a1d

Browse files
committed
test: fix regex escaping in stdio setter test
1 parent 2f715ee commit 9aa1a1d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/parallel/test-child-process-array-prototype-setter.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ try {
2121

2222
spawnSyncAndAssert(process.execPath, ['-e', script], {
2323
stdout: (output) => {
24-
assert.match(output, /^ERR_INVALID_ARG_TYPE\\r?\\n$/);
24+
assert.match(output, /^ERR_INVALID_ARG_TYPE\r?\n$/);
2525
},
2626
stderr: (output) => {
2727
assert.doesNotMatch(output, /FATAL ERROR: v8::ToLocalChecked Empty MaybeLocal/);

0 commit comments

Comments
 (0)