We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 35d3c42 commit a9613acCopy full SHA for a9613ac
test/parallel/test-tls-env-bad-extra-ca.js
@@ -32,8 +32,12 @@ fork(__filename, opts)
32
assert.strictEqual(status, 0, 'client did not succeed in connecting');
33
}))
34
.on('close', common.mustCall(function() {
35
- const re = /Warning: Ignoring extra certs from.*no-such-file-exists-🐢.* load failed:.*No such file or directory/;
36
- assert(re.test(stderr), stderr);
+ // TODO(addaleax): Make `SafeGetenv` work like `process.env`
+ // encoding-wise
37
+ if (!common.isWindows) {
38
+ const re = /Warning: Ignoring extra certs from.*no-such-file-exists-🐢.* load failed:.*No such file or directory/;
39
+ assert(re.test(stderr), stderr);
40
+ }
41
42
.stderr.setEncoding('utf8').on('data', function(str) {
43
stderr += str;
0 commit comments