summaryrefslogtreecommitdiff
path: root/test/parallel/test-stream-base-no-abort.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/parallel/test-stream-base-no-abort.js')
-rw-r--r--test/parallel/test-stream-base-no-abort.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/parallel/test-stream-base-no-abort.js b/test/parallel/test-stream-base-no-abort.js
index 6b1cc67ee7..8b85acea2f 100644
--- a/test/parallel/test-stream-base-no-abort.js
+++ b/test/parallel/test-stream-base-no-abort.js
@@ -17,21 +17,21 @@ const providers = Object.keys(async_wrap.Providers);
let flags = 0;
// Make sure all asserts have run at least once.
-process.on('exit', () => assert.equal(flags, 0b111));
+process.on('exit', () => assert.strictEqual(flags, 0b111));
function init(id, provider) {
this._external; // Test will abort if nullptr isn't properly checked.
switch (providers[provider]) {
case 'TCPWRAP':
- assert.equal(this.fd, uv.UV_EINVAL);
+ assert.strictEqual(this.fd, uv.UV_EINVAL);
flags |= 0b1;
break;
case 'TLSWRAP':
- assert.equal(this.fd, uv.UV_EINVAL);
+ assert.strictEqual(this.fd, uv.UV_EINVAL);
flags |= 0b10;
break;
case 'UDPWRAP':
- assert.equal(this.fd, uv.UV_EBADF);
+ assert.strictEqual(this.fd, uv.UV_EBADF);
flags |= 0b100;
break;
}