Skip to content

Commit

Permalink
test: replace equal with strictEqual
Browse files Browse the repository at this point in the history
PR-URL: #10011
Reviewed-By: Roman Reiss <me@silverwind.io>
Reviewed-By: Myles Borins <myles.borins@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
  • Loading branch information
hackygolucky authored and MylesBorins committed Dec 20, 2016
1 parent b5d8756 commit 6a485da
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/parallel/test-domain-abort-on-uncaught.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 {

Expand All @@ -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);
});
Expand Down

0 comments on commit 6a485da

Please sign in to comment.