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

Commit

Permalink
test: fix test-process-versions for QUIC
Browse files Browse the repository at this point in the history
PR-URL: #149
Reviewed-By: James M Snell <jasnell@gmail.com>
  • Loading branch information
addaleax authored and jasnell committed Oct 3, 2019
1 parent ea86f03 commit e11fefb
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions test/parallel/test-process-versions.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,12 @@ const expected_keys = [
'v8',
'zlib',
'nghttp2',
'nghttp3',
'napi',
'llhttp'
];

if (common.hasCrypto) {
expected_keys.push('openssl');
expected_keys.push('ngtcp2');
}

if (common.hasIntl) {
Expand All @@ -28,6 +26,11 @@ if (common.hasIntl) {
expected_keys.push('unicode');
}

if (common.hasQuic) {
expected_keys.push('ngtcp2');
expected_keys.push('nghttp3');
}

expected_keys.sort();
const actual_keys = Object.keys(process.versions).sort();

Expand Down

0 comments on commit e11fefb

Please sign in to comment.