From a4bcf3d2351caba09c7de61ad9c36ee8db691349 Mon Sep 17 00:00:00 2001 From: Parth Verma Date: Thu, 11 Jul 2024 15:54:32 -0700 Subject: [PATCH] Fixed failing tests --- tests/test-tunnel-response.js | 4 ++-- tests/test-tunnel.js | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/test-tunnel-response.js b/tests/test-tunnel-response.js index ec8834d52..2c6db11ed 100644 --- a/tests/test-tunnel-response.js +++ b/tests/test-tunnel-response.js @@ -354,8 +354,8 @@ function addTests () { }, [ 'http connect to localhost:' + ss2.port, // it should bubble up the key mismatch error - process.versions.node.split('.')[0] < 18 ?'err error:05800074:x509 certificate routines::key values mismatch' : - 'err error:05800074:x509 certificate routines::key values mismatch' + process.versions.node.split('.')[0] < 18 ? 'err error:05800074:x509 certificate routines::key values mismatch' + : 'err error:05800074:x509 certificate routines::key values mismatch' ]) } diff --git a/tests/test-tunnel.js b/tests/test-tunnel.js index 90e67ddeb..17d54fdf5 100644 --- a/tests/test-tunnel.js +++ b/tests/test-tunnel.js @@ -485,8 +485,8 @@ function addTests () { }, [ 'http connect to localhost:' + ss2.port, // it should bubble up the key mismatch error - process.versions.node.split('.')[0] < 18 ?'err error:05800074:x509 certificate routines::key values mismatch' : - 'err error:05800074:x509 certificate routines::key values mismatch' + process.versions.node.split('.')[0] < 18 ? 'err error:05800074:x509 certificate routines::key values mismatch' + : 'err error:05800074:x509 certificate routines::key values mismatch' ]) }