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
Aaron Petcoff 8 years ago
committed by Michaël Zasso
parent
commit
f133c16f5d
  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) => { c.write('hello', common.mustCall((err) => {
assert.equal(err.code, 'ECANCELED'); assert.strictEqual(err.code, 'ECANCELED');
server.close(); server.close();
})); }));
})); }));

Loading…
Cancel
Save