Skip to content
This repository was archived by the owner on Aug 11, 2020. It is now read-only.

Commit 40e5be0

Browse files
addaleaxjasnell
authored andcommitted
test: fix test-process-versions for QUIC
PR-URL: #149 Reviewed-By: James M Snell <[email protected]>
1 parent b587abb commit 40e5be0

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

test/parallel/test-process-versions.js

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,12 @@ const expected_keys = [
1111
'v8',
1212
'zlib',
1313
'nghttp2',
14-
'nghttp3',
1514
'napi',
1615
'llhttp'
1716
];
1817

1918
if (common.hasCrypto) {
2019
expected_keys.push('openssl');
21-
expected_keys.push('ngtcp2');
2220
}
2321

2422
if (common.hasIntl) {
@@ -28,6 +26,11 @@ if (common.hasIntl) {
2826
expected_keys.push('unicode');
2927
}
3028

29+
if (common.hasQuic) {
30+
expected_keys.push('ngtcp2');
31+
expected_keys.push('nghttp3');
32+
}
33+
3134
expected_keys.sort();
3235
const actual_keys = Object.keys(process.versions).sort();
3336

0 commit comments

Comments
 (0)