From 66c82adb0ecfcef0c669789b3d60452103397baa 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); }));