We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
test-repl-unsupported-option.js
1 parent 3bfba6d commit 71b8d50Copy full SHA for 71b8d50
test/parallel/test-repl-unsupported-option.js
@@ -7,4 +7,5 @@ const { spawnSync } = require('child_process');
7
8
const result = spawnSync(process.execPath, ['-i', '--input-type=module']);
9
10
-assert.match(result.stderr.toString(), /Cannot specify --input-type for REPL/);
+assert.strictEqual(result.stderr.toString(), 'Cannot specify --input-type for REPL\n');
11
+assert.notStrictEqual(result.exitCode, 0);
0 commit comments