diff --git a/test/sequential/test-inspector-break-e.js b/test/sequential/test-inspector-break-e.js index 567ef7911c446d..5abaca8091b897 100644 --- a/test/sequential/test-inspector-break-e.js +++ b/test/sequential/test-inspector-break-e.js @@ -17,7 +17,7 @@ async function runTests() { ]); await session.waitForBreakOnLine(0, '[eval]'); await session.runToCompletion(); - assert.strictEqual(0, (await instance.expectShutdown()).exitCode); + assert.strictEqual((await instance.expectShutdown()).exitCode, 0); } runTests();