Skip to content

Commit a49146e

Browse files
jasnelladdaleax
authored andcommitted
http2: remove redundant return in test
Backport-PR-URL: #14813 Backport-Reviewed-By: Anna Henningsen <anna@addaleax.net> Backport-Reviewed-By: Timothy Gu <timothygu99@gmail.com> PR-URL: #14239 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
1 parent 3eb61b0 commit a49146e

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

test/parallel/test-tls-disable-renegotiation.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,9 @@ const fs = require('fs');
55

66
// Tests that calling disableRenegotiation on a TLSSocket stops renegotiation.
77

8-
if (!common.hasCrypto) {
8+
if (!common.hasCrypto)
99
common.skip('missing crypto');
10-
return;
11-
}
10+
1211
const tls = require('tls');
1312

1413
const options = {

0 commit comments

Comments
 (0)