henvic / httpretty

Package httpretty prints the HTTP requests you make with Go pretty on your terminal.
https://asciinema.org/a/297429
MIT License
398 stars 16 forks source link

test: fix matching tls certificate error for Go1.20 #18

Closed zhsj closed 1 year ago

zhsj commented 1 year ago

Go1.20 adds more info to the tls error. Now it reports:

tls: failed to verify certificate: x509: certificate signed by unknown authority

Close #16

henvic commented 1 year ago

Thank you, @zhsj. Fixed.