Skip to content

Commit 2968876

Browse files
ashita92MylesBorins
authored andcommitted
test: change assert.strict to assert.strictEqual()
PR-URL: #9988 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
1 parent c092aa3 commit 2968876

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

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

+4-4
Original file line numberDiff line numberDiff line change
@@ -125,15 +125,15 @@ if (process.argv[2] === 'child') {
125125
} else {
126126
// By default, uncaught exceptions make node exit with an exit
127127
// code of 7.
128-
assert.equal(exitCode, 7);
129-
assert.equal(signal, null);
128+
assert.strictEqual(exitCode, 7);
129+
assert.strictEqual(signal, null);
130130
}
131131
} else {
132132
// If the top-level domain's error handler does not throw,
133133
// the process must exit gracefully, whether or not
134134
// --abort_on_uncaught_exception was passed on the command line
135-
assert.equal(exitCode, 0);
136-
assert.equal(signal, null);
135+
assert.strictEqual(exitCode, 0);
136+
assert.strictEqual(signal, null);
137137
}
138138
});
139139
}

0 commit comments

Comments
 (0)