Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
test: simplify test-tls-client-default-ciphers
Ref: #12376
  • Loading branch information
maclover7 committed Aug 24, 2017
commit 54defc06ffc0193bff005912fe465f08bffaa1d6
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();