From af68c554a5fd3b3595dedf64ed038fea2b761e66 Mon Sep 17 00:00:00 2001 From: "@CAYdenberg" <@CAYdenberg> Date: Fri, 12 Oct 2018 10:11:12 -0700 Subject: test: fix argument order in asserts PR-URL: https://github.com/nodejs/node/pull/23499 Reviewed-By: Guy Bedford Reviewed-By: Colin Ihrig Reviewed-By: Gireesh Punathil Reviewed-By: James M Snell Reviewed-By: Trivikram Kamat Reviewed-By: Ruben Bridgewater --- test/sequential/test-inspector-async-stack-traces-promise-then.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/sequential') diff --git a/test/sequential/test-inspector-async-stack-traces-promise-then.js b/test/sequential/test-inspector-async-stack-traces-promise-then.js index 165db81c83..11905431d5 100644 --- a/test/sequential/test-inspector-async-stack-traces-promise-then.js +++ b/test/sequential/test-inspector-async-stack-traces-promise-then.js @@ -45,7 +45,7 @@ async function runTests() { 'break2', 'runTest:8'); await session.runToCompletion(); - assert.strictEqual(0, (await instance.expectShutdown()).exitCode); + assert.strictEqual((await instance.expectShutdown()).exitCode, 0); } function debuggerPausedAt(msg, functionName, previousTickLocation) { -- cgit v1.2.3