diff --git a/test/sequential/test-inspector-debug-brk-flag.js b/test/sequential/test-inspector-debug-brk-flag.js index d488eea2626584..7fa85c269c9343 100644 --- a/test/sequential/test-inspector-debug-brk-flag.js +++ b/test/sequential/test-inspector-debug-brk-flag.js @@ -34,7 +34,7 @@ async function runTests() { await testBreakpointOnStart(session); await session.runToCompletion(); - assert.strictEqual(55, (await child.expectShutdown()).exitCode); + assert.strictEqual((await child.expectShutdown()).exitCode, 55); } runTests();