From bc89f9bbbccaa81583e9295c8d5cfa132c33b11e Mon Sep 17 00:00:00 2001 From: Ruy Adorno Date: Fri, 12 Oct 2018 10:48:12 -0700 Subject: [PATCH] test: fixed strictEqual arguments order Fixes usage of strictEqual arguments order in test/parallel/test-process-wrap.js Part of Node+JS Interactive 2018 Code & Learn PR-URL: https://github.com/nodejs/node/pull/23576 Reviewed-By: Anna Henningsen Reviewed-By: James M Snell Reviewed-By: Ruben Bridgewater Reviewed-By: Colin Ihrig Reviewed-By: Gireesh Punathil Reviewed-By: Trivikram Kamat Reviewed-By: Sakthipriyan Vairamani --- test/parallel/test-process-wrap.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/parallel/test-process-wrap.js b/test/parallel/test-process-wrap.js index ebbb2af5e93ea1..eccdeb5d075575 100644 --- a/test/parallel/test-process-wrap.js +++ b/test/parallel/test-process-wrap.js @@ -38,8 +38,8 @@ p.onexit = function(exitCode, signal) { p.close(); pipe.readStart(); - assert.strictEqual(0, exitCode); - assert.strictEqual('', signal); + assert.strictEqual(exitCode, 0); + assert.strictEqual(signal, ''); processExited = true; };