Permalink
Browse files

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

PR-URL: #14928
Ref: #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>
  • Loading branch information...
maclover7 authored and MylesBorins committed Aug 18, 2017
1 parent 605a02b commit 6540e995475b469eb70f5eaee91b1623ec0fa257
Showing with 2 additions and 5 deletions.
  1. +2 −5 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();

0 comments on commit 6540e99

Please sign in to comment.