We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d6fff0e commit 3b99191Copy full SHA for 3b99191
test/parallel/test-child-process-cwd.js
@@ -43,7 +43,7 @@ function testCwd(options, expectCode = 0, expectData) {
43
// Can't assert callback, as stayed in to API:
44
// _The 'exit' event may or may not fire after an error has occurred._
45
child.on('exit', function(code, signal) {
46
- assert.strictEqual(expectCode, code);
+ assert.strictEqual(code, expectCode);
47
});
48
49
child.on('close', common.mustCall(function() {
0 commit comments