From 345af4dd5c567332b6b01e5b5d028bac7c64d74b Mon Sep 17 00:00:00 2001 From: James M Snell Date: Thu, 4 Mar 2021 08:29:46 -0800 Subject: [PATCH] test: fixup test to account for quic openssl version PR-URL: https://github.com/nodejs/node/pull/37601 Reviewed-By: Matteo Collina Reviewed-By: Gus Caplan Reviewed-By: Daniel Bevenius Reviewed-By: Jiawen Geng Reviewed-By: Michael Dawson --- test/parallel/test-process-versions.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/parallel/test-process-versions.js b/test/parallel/test-process-versions.js index 14484293dc4621..788c380449b802 100644 --- a/test/parallel/test-process-versions.js +++ b/test/parallel/test-process-versions.js @@ -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++) {