summaryrefslogtreecommitdiff
path: root/test/sequential/test-inspector-break-e.js
diff options
context:
space:
mode:
authorShannon <shannonfarvolden@hotmail.com>2018-10-12 11:10:26 -0700
committerRich Trott <rtrott@gmail.com>2018-10-12 19:58:50 -0700
commitc1288fe4320ec1f1e3a29cb7293d2d2faa43d522 (patch)
tree19e19a5c7ef40708c9470ab84386be018ecf3b19 /test/sequential/test-inspector-break-e.js
parent6cd5c7420ac82fe256180b29a1b8ab0b861cc1bc (diff)
downloadandroid-node-v8-c1288fe4320ec1f1e3a29cb7293d2d2faa43d522.tar.gz
android-node-v8-c1288fe4320ec1f1e3a29cb7293d2d2faa43d522.tar.bz2
android-node-v8-c1288fe4320ec1f1e3a29cb7293d2d2faa43d522.zip
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.: PR-URL: https://github.com/nodejs/node/pull/23577 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Hitesh Kanwathirtha <digitalinfinity@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Diffstat (limited to 'test/sequential/test-inspector-break-e.js')
-rw-r--r--test/sequential/test-inspector-break-e.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/sequential/test-inspector-break-e.js b/test/sequential/test-inspector-break-e.js
index d988c11874..954ce6b897 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();