Skip to content

Commit

Permalink
test: remove erroneous assert message from test
Browse files Browse the repository at this point in the history
Removes the incorrect 'exit successfully' message from test when the
exit code is 0.

PR-URL: #14918
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: Refael Ackermann <refack@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
  • Loading branch information
BethGriggs authored and MylesBorins committed Sep 12, 2017
1 parent bfa3cbe commit 7621555
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/parallel/test-process-external-stdio-close-spawn.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ if (process.argv[2] === 'child') {
});

child.on('close', common.mustCall((exitCode, signal) => {
assert.strictEqual(exitCode, 0, 'exit successfully');
assert.strictEqual(exitCode, 0);
assert.strictEqual(signal, null);
}));

Expand Down

0 comments on commit 7621555

Please sign in to comment.