Skip to content

Commit

Permalink
Match exception substring
Browse files Browse the repository at this point in the history
  • Loading branch information
nsslh committed Nov 17, 2023
1 parent 1a0fe48 commit a547405
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/clntsrvr/clntsrvr.jl
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ function testverify(certfile, keyfile, badcafile)
@info("connecting to port $port")
badsslconfig = MbedTLS.SSLConfig(true)
badsslconfig.chain = MbedTLS.crt_parse(read(badcafile, String))
@test_throws "Certificate verification failed" sslconnect("127.0.0.1", port, badsslconfig)
@test_throws r"Certificate verification failed" sslconnect("127.0.0.1", port, badsslconfig)
@test take!(trigger)
wait(r)

Expand Down

0 comments on commit a547405

Please sign in to comment.