diff --git a/test/parallel/test-domain-abort-on-uncaught.js b/test/parallel/test-domain-abort-on-uncaught.js index 93d330e3d67370..493533e5750ec1 100644 --- a/test/parallel/test-domain-abort-on-uncaught.js +++ b/test/parallel/test-domain-abort-on-uncaught.js @@ -212,7 +212,7 @@ if (process.argv[2] === 'child') { tests[testIndex](); process.on('exit', function onExit() { - assert.equal(errorHandlerCalled, true); + assert.strictEqual(errorHandlerCalled, true); }); } else { @@ -233,7 +233,7 @@ if (process.argv[2] === 'child') { var child = child_process.exec(testCmd); child.on('exit', function onExit(code, signal) { - assert.equal(code, 0, 'Test at index ' + testIndex + + assert.strictEqual(code, 0, 'Test at index ' + testIndex + ' should have exited with exit code 0 but instead exited with code ' + code + ' and signal ' + signal); });