Skip to content

Commit f68bfc5

Browse files
hackygoluckyFishrock123
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 c0eb08a commit f68bfc5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ if (process.argv[2] === 'child') {
227227
tests[testIndex]();
228228

229229
process.on('exit', function onExit() {
230-
assert.equal(errorHandlerCalled, true);
230+
assert.strictEqual(errorHandlerCalled, true);
231231
});
232232
} else {
233233

@@ -248,7 +248,7 @@ if (process.argv[2] === 'child') {
248248
var child = child_process.exec(testCmd);
249249

250250
child.on('exit', function onExit(code, signal) {
251-
assert.equal(code, 0, 'Test at index ' + testIndex +
251+
assert.strictEqual(code, 0, 'Test at index ' + testIndex +
252252
' should have exited with exit code 0 but instead exited with code ' +
253253
code + ' and signal ' + signal);
254254
});

0 commit comments

Comments
 (0)