From 1e33511e8c1a65f1c028b5a48d98eda08e95976d Mon Sep 17 00:00:00 2001 From: Adrian Estrada Date: Thu, 8 Dec 2016 12:04:03 -0500 Subject: [PATCH] test: use strictEqual in test-debug-break use strictEqual assertions in test-debug-break-on-uncaught.js --- test/debugger/test-debug-break-on-uncaught.js | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/test/debugger/test-debug-break-on-uncaught.js b/test/debugger/test-debug-break-on-uncaught.js index 4b4602657cca0d..3acd70070bbf61 100644 --- a/test/debugger/test-debug-break-on-uncaught.js +++ b/test/debugger/test-debug-break-on-uncaught.js @@ -100,10 +100,11 @@ function runScenario(scriptName, throwsOnLine, next) { function assertHasPaused(client) { assert(exceptions.length, 'no exceptions thrown, race condition in test?'); - assert.equal(exceptions.length, 1, 'debugger did not pause on exception'); - assert.equal(exceptions[0].uncaught, true); - assert.equal(exceptions[0].script.name, testScript); - assert.equal(exceptions[0].sourceLine + 1, throwsOnLine); + assert.strictEqual(exceptions.length, 1, + 'debugger did not pause on exception'); + assert.strictEqual(exceptions[0].uncaught, true); + assert.strictEqual(exceptions[0].script.name, testScript); + assert.strictEqual(exceptions[0].sourceLine + 1, throwsOnLine); asserted = true; client.reqContinue(assert.ifError); }