Skip to content

Commit 6a485da

Browse files
hackygoluckyMylesBorins
authored andcommitted
test: replace equal with strictEqual
PR-URL: #10011 Reviewed-By: Roman Reiss <[email protected]> Reviewed-By: Myles Borins <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: James M Snell <[email protected]>
1 parent b5d8756 commit 6a485da

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/parallel/test-domain-abort-on-uncaught.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ if (process.argv[2] === 'child') {
212212
tests[testIndex]();
213213

214214
process.on('exit', function onExit() {
215-
assert.equal(errorHandlerCalled, true);
215+
assert.strictEqual(errorHandlerCalled, true);
216216
});
217217
} else {
218218

@@ -233,7 +233,7 @@ if (process.argv[2] === 'child') {
233233
var child = child_process.exec(testCmd);
234234

235235
child.on('exit', function onExit(code, signal) {
236-
assert.equal(code, 0, 'Test at index ' + testIndex +
236+
assert.strictEqual(code, 0, 'Test at index ' + testIndex +
237237
' should have exited with exit code 0 but instead exited with code ' +
238238
code + ' and signal ' + signal);
239239
});

0 commit comments

Comments
 (0)