diff options
-rw-r--r-- | test/sequential/test-inspector-scriptparsed-context.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/sequential/test-inspector-scriptparsed-context.js b/test/sequential/test-inspector-scriptparsed-context.js index e1ec209994..56cc41dd86 100644 --- a/test/sequential/test-inspector-scriptparsed-context.js +++ b/test/sequential/test-inspector-scriptparsed-context.js @@ -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(); |