Skip to content
This repository has been archived by the owner on Aug 31, 2018. It is now read-only.

Commit

Permalink
test: simplify test-tls-client-default-ciphers
Browse files Browse the repository at this point in the history
PR-URL: nodejs/node#14928
Ref: nodejs/node#12376
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Rich Trott <[email protected]>
Reviewed-By: Refael Ackermann <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
  • Loading branch information
maclover7 authored and addaleax committed Aug 28, 2017
1 parent 455d7a6 commit 789e951
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions test/parallel/test-tls-client-default-ciphers.js
Original file line number Diff line number Diff line change
Expand Up @@ -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();

0 comments on commit 789e951

Please sign in to comment.