| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 29a4d35 commit 32da59a
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -81,7 +81,8 @@ child.exec(nodejs + ' --eval "require(\'./test/parallel/test-cli-eval.js\')"', | |||
| 81 | 81 | child.exec(nodejs + ' -e', common.mustCall(function(err, stdout, stderr) { | |
| 82 | 82 | assert.strictEqual(err.code, 9); | |
| 83 | 83 | assert.strictEqual(stdout, ''); | |
| 84 | - assert(stderr.match(/node: -e requires an argument\n/)); | ||
| 84 | + assert.strictEqual(stderr.trim(), | ||
| 85 | + `${process.execPath}: -e requires an argument`); | ||
| 85 | 86 | })); | |
| 86 | 87 | ||
| 87 | 88 | // empty program should do nothing | |
| Back | FazBrowse Home | New Git URL |
0 commit comments