From 8a53403b9701f886c5c3561bfddc7ee81ae33caf 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 --- 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 e1ec209994f18e..56cc41dd86a397 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();