summaryrefslogtreecommitdiff
path: root/test/parallel/test-tls-disable-renegotiation.js
diff options
context:
space:
mode:
authorJames M Snell <jasnell@gmail.com>2017-07-17 10:32:25 -0700
committerJames M Snell <jasnell@gmail.com>2017-08-04 12:56:05 -0700
commit6dea193acaa3c548fa2dedf57a4e32c8401a02c2 (patch)
tree7b539fb3c6f30052667a2503d701498b47adc96d /test/parallel/test-tls-disable-renegotiation.js
parentb1e055696fbcd4b8829630d0be787cfc74fe913b (diff)
downloadnode-new-6dea193acaa3c548fa2dedf57a4e32c8401a02c2.tar.gz
http2: remove redundant return in test
PR-URL: https://github.com/nodejs/node/pull/14239 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Diffstat (limited to 'test/parallel/test-tls-disable-renegotiation.js')
-rw-r--r--test/parallel/test-tls-disable-renegotiation.js5
1 files changed, 2 insertions, 3 deletions
diff --git a/test/parallel/test-tls-disable-renegotiation.js b/test/parallel/test-tls-disable-renegotiation.js
index 9e9a672768..0efa935e43 100644
--- a/test/parallel/test-tls-disable-renegotiation.js
+++ b/test/parallel/test-tls-disable-renegotiation.js
@@ -5,10 +5,9 @@ const fs = require('fs');
// Tests that calling disableRenegotiation on a TLSSocket stops renegotiation.
-if (!common.hasCrypto) {
+if (!common.hasCrypto)
common.skip('missing crypto');
- return;
-}
+
const tls = require('tls');
const options = {