Skip to content

Commit

Permalink
Fixed failing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
parthverma1 committed Jul 11, 2024
1 parent a4bcf3d commit f438ca9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
6 changes: 3 additions & 3 deletions tests/test-tunnel-response.js
Original file line number Diff line number Diff line change
Expand Up @@ -354,9 +354,9 @@ 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:0B080074:x509 certificate routines:X509_check_private_key:key values mismatch'
: 'err error:05800074:x509 certificate routines::key values mismatch' ])
}

tape('setup', function (t) {
Expand Down
3 changes: 2 additions & 1 deletion tests/test-tunnel.js
Original file line number Diff line number Diff line change
Expand Up @@ -485,7 +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'
process.versions.node.split('.')[0] < 18
? 'err error:0B080074:x509 certificate routines:X509_check_private_key:key values mismatch'
: 'err error:05800074:x509 certificate routines::key values mismatch'
])
}
Expand Down

0 comments on commit f438ca9

Please sign in to comment.