From b9d63ab1b7b82fe959c616ee16a8c6497c824114 Mon Sep 17 00:00:00 2001 From: Beth Griggs Date: Fri, 18 Aug 2017 13:26:16 +0100 Subject: [PATCH] test: remove erroneous assert message from test MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Removes the incorrect 'exit successfully' message from test when the exit code is 0. PR-URL: https://github.com/nodejs/node/pull/14918 Reviewed-By: Colin Ihrig Reviewed-By: Rich Trott Reviewed-By: James M Snell Reviewed-By: Tobias Nießen Reviewed-By: Refael Ackermann Reviewed-By: Luigi Pinca --- test/parallel/test-process-external-stdio-close-spawn.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/parallel/test-process-external-stdio-close-spawn.js b/test/parallel/test-process-external-stdio-close-spawn.js index b1ab52ff8a..93d7f795bd 100644 --- a/test/parallel/test-process-external-stdio-close-spawn.js +++ b/test/parallel/test-process-external-stdio-close-spawn.js @@ -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); }));