mirror of
https://github.com/nodejs/node.git
synced 2026-11-26 21:58:26 -05:00
test: fixup test to account for quic openssl version
PR-URL: https://github.com/nodejs/node/pull/37601 Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Gus Caplan <me@gus.host> Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com> Reviewed-By: Jiawen Geng <technicalcute@gmail.com> Reviewed-By: Michael Dawson <midawson@redhat.com>
This commit is contained in:
1 parent
ce357c0c11
commit
c2cb153646
1 file changed
+1
-1
@@ -35,7 +35,7 @@ assert(/^\d+\.\d+\.\d+(?:\.\d+)?-node\.\d+(?: \(candidate\))?$/
|
||||
assert(/^\d+$/.test(process.versions.modules));
|
||||
|
||||
if (common.hasCrypto) {
|
||||
assert(/^\d+\.\d+\.\d+[a-z]?(-fips)?$/.test(process.versions.openssl));
|
||||
assert(/^\d+\.\d+\.\d+[a-z]?(\+quic)?(-fips)?$/.test(process.versions.openssl));
|
||||
}
|
||||
|
||||
for (let i = 0; i < expected_keys.length; i++) {
|
||||
|
||||
Reference in new issue
Block a user