Browse Source

test: use logical and not or in abort-fatal-error

v0.11.11-release
Timothy J Fontaine 11 years ago
parent
commit
114bff467e
  1. 2
      test/simple/test-abort-fatal-error.js

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

@ -41,7 +41,7 @@ exec(cmdline, function(err, stdout, stderr) {
return;
}
if (err.code !== 134 || err.signal !== 'SIGABRT') {
if (err.code !== 134 && err.signal !== 'SIGABRT') {
console.log(stdout);
console.log(stderr);
console.log(err);

Loading…
Cancel
Save