From 60626dc1b52f5b83bb382ed3945b122a103559ee 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 --- 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; };