diff options
author | Rich Trott <rtrott@gmail.com> | 2019-05-21 13:42:45 -0700 |
---|---|---|
committer | Rich Trott <rtrott@gmail.com> | 2019-05-24 19:26:30 -0700 |
commit | 3f01710d3ce89518825c7216975d544d6e78afb2 (patch) | |
tree | e1a1b9296f310cafc5cf92629dd77e0e5c7bfae1 /test/parallel/test-https-agent-additional-options.js | |
parent | 5b8df5e956680dc1a38b631e53f5e70a905fd917 (diff) | |
download | android-node-v8-3f01710d3ce89518825c7216975d544d6e78afb2.tar.gz android-node-v8-3f01710d3ce89518825c7216975d544d6e78afb2.tar.bz2 android-node-v8-3f01710d3ce89518825c7216975d544d6e78afb2.zip |
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.
PR-URL: https://github.com/nodejs/node/pull/27830
Reviewed-By: Sam Roberts <vieuxtech@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Diffstat (limited to 'test/parallel/test-https-agent-additional-options.js')
-rw-r--r-- | test/parallel/test-https-agent-additional-options.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/parallel/test-https-agent-additional-options.js b/test/parallel/test-https-agent-additional-options.js index a04ef7461d..2c043cc18e 100644 --- a/test/parallel/test-https-agent-additional-options.js +++ b/test/parallel/test-https-agent-additional-options.js @@ -1,4 +1,3 @@ -// Flags: --tls-min-v1.1 'use strict'; const common = require('../common'); if (!common.hasCrypto) @@ -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) { |