From f6204c58c0a893ac943abc61501ac15f65ca0b29 Mon Sep 17 00:00:00 2001 From: Daniyal Mokhammad Date: Fri, 12 Oct 2018 10:16:34 -0700 Subject: [PATCH] test: fixed incorrect variable order in assert.strictEqual() PR-URL: https://github.com/nodejs/node/pull/23502 Reviewed-By: Colin Ihrig Reviewed-By: Gireesh Punathil Reviewed-By: James M Snell Reviewed-By: Trivikram Kamat Reviewed-By: Ruben Bridgewater --- test/parallel/test-tracing-no-crash.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/parallel/test-tracing-no-crash.js b/test/parallel/test-tracing-no-crash.js index 816bd95df02e29..5b11522911e75d 100644 --- a/test/parallel/test-tracing-no-crash.js +++ b/test/parallel/test-tracing-no-crash.js @@ -4,8 +4,8 @@ const assert = require('assert'); const { spawn } = require('child_process'); function CheckNoSignalAndErrorCodeOne(code, signal) { - assert.strictEqual(null, signal); - assert.strictEqual(1, code); + assert.strictEqual(signal, null); + assert.strictEqual(code, 1); } const child = spawn(process.execPath,