From 8af5970281ecf501b853980ccd82ae129dab0235 Mon Sep 17 00:00:00 2001 From: Shannon Date: Fri, 12 Oct 2018 11:10:26 -0700 Subject: [PATCH] test: fix parameter order passed to strictEqual strictEqual() expects the first argument to be the actual value and the second argument to be the expected value. This fix will correctly label the AssertionError.: --- test/sequential/test-inspector-break-e.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/sequential/test-inspector-break-e.js b/test/sequential/test-inspector-break-e.js index d988c118740e53..954ce6b8978802 100644 --- a/test/sequential/test-inspector-break-e.js +++ b/test/sequential/test-inspector-break-e.js @@ -16,7 +16,7 @@ async function runTests() { ]); await session.waitForBreakOnLine(2, '[eval]'); await session.runToCompletion(); - assert.strictEqual(0, (await instance.expectShutdown()).exitCode); + assert.strictEqual((await instance.expectShutdown()).exitCode, 0); } runTests();