Skip to content

Navigation Menu

Sign in
Appearance settings

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

Appearance settings

Commit b87ee26

Browse filesBrowse 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 4514fd7 commit b87ee26
Copy full SHA for b87ee26

File tree

Expand file treeCollapse file tree

1 file changed

+4
-4
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+4
-4
lines changed
Open diff view settings
Collapse file

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

Copy file name to clipboardExpand all lines: test/parallel/test-domain-with-abort-on-uncaught-exception.js
+4-4Lines changed: 4 additions & 4 deletions
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.