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>
canary-base
Jon Moss 8 years ago
committed by James M Snell
parent
commit
d86eb5cadf
  1. 7
      test/parallel/test-tls-client-default-ciphers.js

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

@ -37,11 +37,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