From 446aadd2e23bb91709644c493f20f7c5ae103ff8 Mon Sep 17 00:00:00 2001 From: Stacey Date: Fri, 12 Oct 2018 09:56:31 -0700 Subject: [PATCH] test: fix argument order for assert.strictEqual PR-URL: https://github.com/nodejs/node/pull/23485 Reviewed-By: Colin Ihrig Reviewed-By: Gireesh Punathil Reviewed-By: James M Snell Reviewed-By: Trivikram Kamat --- test/sequential/test-inspector-scriptparsed-context.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/sequential/test-inspector-scriptparsed-context.js b/test/sequential/test-inspector-scriptparsed-context.js index e1ec209994f..56cc41dd86a 100644 --- a/test/sequential/test-inspector-scriptparsed-context.js +++ b/test/sequential/test-inspector-scriptparsed-context.js @@ -81,7 +81,7 @@ async function runTests() { await session.waitForBreakOnLine(0, 'evalmachine.'); await session.runToCompletion(); - assert.strictEqual(0, (await instance.expectShutdown()).exitCode); + assert.strictEqual((await instance.expectShutdown()).exitCode, 0); } runTests();