diff --git a/test/sequential/test-inspector-async-hook-setup-at-inspect-brk.js b/test/sequential/test-inspector-async-hook-setup-at-inspect-brk.js index f39746a172bf0d..a1b8f301e07d55 100644 --- a/test/sequential/test-inspector-async-hook-setup-at-inspect-brk.js +++ b/test/sequential/test-inspector-async-hook-setup-at-inspect-brk.js @@ -44,7 +44,7 @@ async function runTests() { await checkAsyncStackTrace(session); await session.runToCompletion(); - assert.strictEqual(55, (await instance.expectShutdown()).exitCode); + assert.strictEqual((await instance.expectShutdown()).exitCode, 55); } runTests();