From a49146e446d0aebc69957734df65fa8a8e9411db Mon Sep 17 00:00:00 2001 From: James M Snell Date: Mon, 17 Jul 2017 10:32:25 -0700 Subject: [PATCH] http2: remove redundant return in test Backport-PR-URL: https://github.com/nodejs/node/pull/14813 Backport-Reviewed-By: Anna Henningsen Backport-Reviewed-By: Timothy Gu PR-URL: https://github.com/nodejs/node/pull/14239 Reviewed-By: Anna Henningsen Reviewed-By: Colin Ihrig Reviewed-By: Matteo Collina --- test/parallel/test-tls-disable-renegotiation.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/test/parallel/test-tls-disable-renegotiation.js b/test/parallel/test-tls-disable-renegotiation.js index 9e9a672768649c..0efa935e432950 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 = {