Skip to content
This repository was archived by the owner on Apr 22, 2023. It is now read-only.

Commit 4d9c81b

Browse files
committed
test: fixing a few nits in the test
typo and unnecessary options init Reviewed-By: James M Snell <[email protected]> PR-URL: #14383
1 parent 3705736 commit 4d9c81b

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

test/simple/test-tls-cipher-list.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,14 +25,11 @@ var tls = require('tls');
2525

2626
function doTest(checklist, env, useswitch) {
2727
var options;
28-
if (env && useswitch === 1) {
29-
options = {env:env};
30-
}
3128
var args = ['-e', 'console.log(require(\'tls\').DEFAULT_CIPHERS)'];
3229

3330
switch(useswitch) {
3431
case 1:
35-
// Test --cipher-test
32+
// Test --cipher-list
3633
args.unshift('--cipher-list=' + env);
3734
break;
3835
case 2:

0 commit comments

Comments
 (0)