Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
test: replace flag with option
test-https-agent-additional-options is invoked with a command-line flag.
However, there is an equivalent option that can be enabled within the
code. Do that instead.
  • Loading branch information
Trott committed May 22, 2019
commit 81e897124a34413f90b562be4c950e682c13f5a6
4 changes: 2 additions & 2 deletions test/parallel/test-https-agent-additional-options.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
// Flags: --tls-min-v1.1
'use strict';
const common = require('../common');
if (!common.hasCrypto)
Expand All @@ -12,7 +11,8 @@ const fixtures = require('../common/fixtures');
const options = {
key: fixtures.readKey('agent1-key.pem'),
cert: fixtures.readKey('agent1-cert.pem'),
ca: fixtures.readKey('ca1-cert.pem')
ca: fixtures.readKey('ca1-cert.pem'),
minVersion: 'TLSv1.1',
};

const server = https.Server(options, function(req, res) {
Expand Down