Skip to content

Commit

Permalink
test: change assert.strict to assert.strictEqual()
Browse files Browse the repository at this point in the history
PR-URL: #9988
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
  • Loading branch information
ashita92 authored and MylesBorins committed Feb 1, 2017
1 parent 4514fd7 commit b87ee26
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/parallel/test-domain-with-abort-on-uncaught-exception.js
Original file line number Diff line number Diff line change
Expand Up @@ -125,15 +125,15 @@ if (process.argv[2] === 'child') {
} else {
// By default, uncaught exceptions make node exit with an exit
// code of 7.
assert.equal(exitCode, 7);
assert.equal(signal, null);
assert.strictEqual(exitCode, 7);
assert.strictEqual(signal, null);
}
} else {
// If the top-level domain's error handler does not throw,
// the process must exit gracefully, whether or not
// --abort_on_uncaught_exception was passed on the command line
assert.equal(exitCode, 0);
assert.equal(signal, null);
assert.strictEqual(exitCode, 0);
assert.strictEqual(signal, null);
}
});
}
Expand Down

0 comments on commit b87ee26

Please sign in to comment.