From d362004010f4a8fbf7549d34c601e3768bee5ba2 Mon Sep 17 00:00:00 2001 From: David Scott Date: Fri, 12 Oct 2018 09:43:36 -0700 Subject: [PATCH] test: properly order test assertion variables PR-URL: https://github.com/nodejs/node/pull/23503 Reviewed-By: Gireesh Punathil Reviewed-By: James M Snell Reviewed-By: Trivikram Kamat Reviewed-By: Colin Ihrig Reviewed-By: Ruben Bridgewater --- test/parallel/test-child-process-set-blocking.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/parallel/test-child-process-set-blocking.js b/test/parallel/test-child-process-set-blocking.js index bca886ed55cb16..51a079ef5fac73 100644 --- a/test/parallel/test-child-process-set-blocking.js +++ b/test/parallel/test-child-process-set-blocking.js @@ -31,5 +31,5 @@ const cp = ch.spawn('python', ['-c', `print ${SIZE} * "C"`], { }); cp.on('exit', common.mustCall(function(code) { - assert.strictEqual(0, code); + assert.strictEqual(code, 0); }));