test: correctly order assertion arguments

PR-URL: https://github.com/nodejs/node/pull/23473
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>
This commit is contained in:
Emily Kolar 2018-10-12 09:55:48 -07:00 committed by Anna Henningsen
parent b22903eacd
commit cf7b5a8dc2
No known key found for this signature in database
GPG Key ID: 9C63F3A6CD2AD8F9

View File

@ -34,7 +34,7 @@ async function runTests() {
await testBreakpointOnStart(session); await testBreakpointOnStart(session);
await session.runToCompletion(); await session.runToCompletion();
assert.strictEqual(55, (await child.expectShutdown()).exitCode); assert.strictEqual((await child.expectShutdown()).exitCode, 55);
} }
runTests(); runTests();