Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 71b8d50

Browse filesBrowse files
juanarbolRafaelGSS
authored andcommitted
test: improve assertions in test-repl-unsupported-option.js
PR-URL: #44953 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Minwoo Jung <nodecorelab@gmail.com> Reviewed-By: Kohei Ueno <kohei.ueno119@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com> Reviewed-By: James M Snell <jasnell@gmail.com>
1 parent 3bfba6d commit 71b8d50
Copy full SHA for 71b8d50

File tree

Expand file treeCollapse file tree

1 file changed

+2
-1
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-1
lines changed
Open diff view settings
Collapse file

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

Copy file name to clipboardExpand all lines: test/parallel/test-repl-unsupported-option.js
+2-1Lines changed: 2 additions & 1 deletion
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.