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 b8f5a2b

Browse filesBrowse files
jun-okaevanlucas
authored andcommitted
test: favor === over == in vm test
PR-URL: #8191 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Myles Borins <myles.borins@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: jbergstroem - Johan Bergström <bugs@bergstroem.nu> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
1 parent 60c5046 commit b8f5a2b
Copy full SHA for b8f5a2b

File tree

Expand file treeCollapse file tree

1 file changed

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

1 file changed

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

‎test/parallel/test-vm-sigint-existing-handler.js‎

Copy file name to clipboardExpand all lines: test/parallel/test-vm-sigint-existing-handler.js
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ if (process.argv[2] === 'child') {
4343

4444
process.on('SIGINT', common.mustCall(() => {
4545
// Handler attached _after_ execution.
46-
if (afterHandlerCalled++ == 0) {
46+
if (afterHandlerCalled++ === 0) {
4747
// The first time it just bounces back to check that the `once()`
4848
// handler is not called the second time.
4949
process.kill(parent, 'SIGUSR2');

0 commit comments

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