summaryrefslogtreecommitdiff
path: root/test/sequential
diff options
context:
space:
mode:
author@CAYdenberg <@CAYdenberg>2018-10-12 10:11:12 -0700
committerRuben Bridgewater <ruben@bridgewater.de>2018-10-15 12:00:00 +0200
commitaf68c554a5fd3b3595dedf64ed038fea2b761e66 (patch)
tree42735a7be6a2a3975a871d91b8dcf5f25e87262b /test/sequential
parent661e7323ee7b53bc85688e397b06042b2f143671 (diff)
downloadandroid-node-v8-af68c554a5fd3b3595dedf64ed038fea2b761e66.tar.gz
android-node-v8-af68c554a5fd3b3595dedf64ed038fea2b761e66.tar.bz2
android-node-v8-af68c554a5fd3b3595dedf64ed038fea2b761e66.zip
test: fix argument order in asserts
PR-URL: https://github.com/nodejs/node/pull/23499 Reviewed-By: Guy Bedford <guybedford@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Diffstat (limited to 'test/sequential')
-rw-r--r--test/sequential/test-inspector-async-stack-traces-promise-then.js2
1 files changed, 1 insertions, 1 deletions
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) {