Skip to content

Commit 71b8d50

Browse files
juanarbolRafaelGSS
authored andcommitted
test: improve assertions in test-repl-unsupported-option.js
PR-URL: #44953 Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Minwoo Jung <[email protected]> Reviewed-By: Kohei Ueno <[email protected]> Reviewed-By: Ruben Bridgewater <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Yagiz Nizipli <[email protected]> Reviewed-By: James M Snell <[email protected]>
1 parent 3bfba6d commit 71b8d50

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/parallel/test-repl-unsupported-option.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,5 @@ const { spawnSync } = require('child_process');
77

88
const result = spawnSync(process.execPath, ['-i', '--input-type=module']);
99

10-
assert.match(result.stderr.toString(), /Cannot specify --input-type for REPL/);
10+
assert.strictEqual(result.stderr.toString(), 'Cannot specify --input-type for REPL\n');
11+
assert.notStrictEqual(result.exitCode, 0);

0 commit comments

Comments
 (0)