Browse Source

test: simplify test-tls-client-default-ciphers

PR-URL: https://github.com/nodejs/node/pull/14928
Ref: https://github.com/nodejs/node/issues/12376
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Refael Ackermann <refack@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
v6.x
Jon Moss 7 years ago
committed by Myles Borins
parent
commit
6540e99547
No known key found for this signature in database GPG Key ID: 933B01F40B5CA946
  1. 7
      test/parallel/test-tls-client-default-ciphers.js

7
test/parallel/test-tls-client-default-ciphers.js

@ -16,11 +16,8 @@ function test1() {
throw new Done();
};
try {
tls.connect(common.PORT);
} catch (e) {
assert(e instanceof Done);
}
assert.throws(tls.connect, Done);
assert.strictEqual(ciphers, tls.DEFAULT_CIPHERS);
}
test1();

Loading…
Cancel
Save