Skip to content

Commit

Permalink
test: fix argument order for assert.strictEqual
Browse files Browse the repository at this point in the history
PR-URL: #23485
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>
  • Loading branch information
inklin authored and addaleax committed Oct 14, 2018
1 parent af40bdd commit 6daa5f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/sequential/test-inspector-scriptparsed-context.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ async function runTests() {
await session.waitForBreakOnLine(0, 'evalmachine.<anonymous>');

await session.runToCompletion();
assert.strictEqual(0, (await instance.expectShutdown()).exitCode);
assert.strictEqual((await instance.expectShutdown()).exitCode, 0);
}

runTests();

0 comments on commit 6daa5f9

Please sign in to comment.