Skip to content
This repository was archived by the owner on Apr 22, 2023. It is now read-only.

Commit 114bff4

Browse files
committed
test: use logical and not or in abort-fatal-error
1 parent 2f5e77f commit 114bff4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/simple/test-abort-fatal-error.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ exec(cmdline, function(err, stdout, stderr) {
4141
return;
4242
}
4343

44-
if (err.code !== 134 || err.signal !== 'SIGABRT') {
44+
if (err.code !== 134 && err.signal !== 'SIGABRT') {
4545
console.log(stdout);
4646
console.log(stderr);
4747
console.log(err);

0 commit comments

Comments
 (0)