test: refactor test-domain-multi
Replace assert.equal() with assert.strictEqual(). PR-URL: https://github.com/nodejs/node/pull/9963 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Evan Lucas <evanlucas@me.com>
This commit is contained in:
parent
9d493d0064
commit
c26419ba37
@ -70,8 +70,8 @@ var server = http.createServer(function(req, res) {
|
||||
});
|
||||
|
||||
process.on('exit', function() {
|
||||
assert.equal(caughtA, false);
|
||||
assert.equal(caughtB, true);
|
||||
assert.equal(caughtC, true);
|
||||
assert.strictEqual(caughtA, false);
|
||||
assert.strictEqual(caughtB, true);
|
||||
assert.strictEqual(caughtC, true);
|
||||
console.log('ok - Errors went where they were supposed to go');
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user