Browse Source

test: Use strictEqual in test-tls-writewrap-leak

PR-URL: https://github.com/nodejs/node/pull/9666
Reviewed-By: Myles Borins <myles.borins@gmail.com>
Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
v6.x
Aaron Petcoff 8 years ago
committed by Anna Henningsen
parent
commit
31304144cd
No known key found for this signature in database GPG Key ID: D8B9F5AEAE84E4CF
  1. 2
      test/parallel/test-tls-writewrap-leak.js

2
test/parallel/test-tls-writewrap-leak.js

@ -20,7 +20,7 @@ const server = net.createServer(common.mustCall((c) => {
});
c.write('hello', common.mustCall((err) => {
assert.equal(err.code, 'ECANCELED');
assert.strictEqual(err.code, 'ECANCELED');
server.close();
}));
}));

Loading…
Cancel
Save