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

Commit

Permalink
test: fixing a few nits in the test
Browse files Browse the repository at this point in the history
typo and unnecessary options init

Reviewed-By: James M Snell <[email protected]>
PR-URL: #14383
  • Loading branch information
jasnell committed Apr 8, 2015
1 parent 3705736 commit 4d9c81b
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions test/simple/test-tls-cipher-list.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,11 @@ var tls = require('tls');

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

switch(useswitch) {
case 1:
// Test --cipher-test
// Test --cipher-list
args.unshift('--cipher-list=' + env);
break;
case 2:
Expand Down

0 comments on commit 4d9c81b

Please sign in to comment.