The Wayback Machine - https://web.archive.org/web/20250407172920/https://github.com/nodejs/node/commit/8ceca4a135
Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Commit 8ceca4a

Browse filesBrowse files
ssmerekaaddaleax
authored andcommitted
test: changed assert.equal to assert.strictEqual
PR-URL: #9936 Reviewed-By: Teddy Katz <teddy.katz@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: James M Snell <jasnell@gmail.com>
1 parent f248c67 commit 8ceca4a
Copy full SHA for 8ceca4a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎test/parallel/test-exception-handler.js

Copy file name to clipboardexpand all lines: test/parallel/test-exception-handler.js
+2-2
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@ var MESSAGE = 'catch me if you can';
66

77
process.on('uncaughtException', common.mustCall(function(e) {
88
console.log('uncaught exception! 1');
9-
assert.equal(MESSAGE, e.message);
9+
assert.strictEqual(MESSAGE, e.message);
1010
}));
1111

1212
process.on('uncaughtException', common.mustCall(function(e) {
1313
console.log('uncaught exception! 2');
14-
assert.equal(MESSAGE, e.message);
14+
assert.strictEqual(MESSAGE, e.message);
1515
}));
1616

1717
setTimeout(function() {

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.