Skip to content

Commit 3c78fb5

Browse files
Chris HenneyChris Henney
authored andcommitted
test: change equal to strictEqual, fix setTimeout
1 parent 8264a22 commit 3c78fb5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/parallel/test-domain-exit-dispose.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ function err() {
2626
console.error('This should not happen.');
2727
disposalFailed = true;
2828
process.exit(1);
29-
});
29+
}, 0);
3030

3131
// this function doesn't exist, and throws an error as a result.
3232
err3(); // eslint-disable-line no-undef
@@ -41,7 +41,7 @@ function err() {
4141
}
4242

4343
process.on('exit', function() {
44-
assert.equal(a, 10);
45-
assert.equal(disposalFailed, false);
44+
assert.strictEqual(a, 10);
45+
assert.strictEqual(disposalFailed, false);
4646
console.log('ok');
4747
});

0 commit comments

Comments
 (0)