Skip to content

Commit b8f5a2b

Browse files
jun-okaevanlucas
authored andcommitted
test: favor === over == in vm test
PR-URL: #8191 Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Myles Borins <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: jbergstroem - Johan Bergström <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Franziska Hinkelmann <[email protected]>
1 parent 60c5046 commit b8f5a2b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines 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)