Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 155b947

Browse filesBrowse files
Trotttargos
authored andcommitted
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: #27830 Reviewed-By: Sam Roberts <vieuxtech@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
1 parent b54f3e0 commit 155b947
Copy full SHA for 155b947

File tree

Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed
Open diff view settings
Collapse file

‎test/parallel/test-https-agent-additional-options.js‎

Copy file name to clipboardExpand all lines: test/parallel/test-https-agent-additional-options.js
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// Flags: --tls-min-v1.1
21
'use strict';
32
const common = require('../common');
43
if (!common.hasCrypto)
@@ -12,7 +11,8 @@ const fixtures = require('../common/fixtures');
1211
const options = {
1312
key: fixtures.readKey('agent1-key.pem'),
1413
cert: fixtures.readKey('agent1-cert.pem'),
15-
ca: fixtures.readKey('ca1-cert.pem')
14+
ca: fixtures.readKey('ca1-cert.pem'),
15+
minVersion: 'TLSv1.1',
1616
};
1717

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

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.