Skip to content

Commit

Permalink
test: change equal to strictEqual, fix setTimeout
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris Henney authored and Chris Henney committed Dec 1, 2016
1 parent 8264a22 commit 3c78fb5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/parallel/test-domain-exit-dispose.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ function err() {
console.error('This should not happen.');
disposalFailed = true;
process.exit(1);
});
}, 0);

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

process.on('exit', function() {
assert.equal(a, 10);
assert.equal(disposalFailed, false);
assert.strictEqual(a, 10);
assert.strictEqual(disposalFailed, false);
console.log('ok');
});

0 comments on commit 3c78fb5

Please sign in to comment.