From: Shengjing Zhu <shengjing.zhu@canonical.com>
Date: Wed, 8 Feb 2023 16:08:20 +0800
Subject: test: fix matching tls certificate error for Go1.20

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
---
 testdata/log.txtar | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/testdata/log.txtar b/testdata/log.txtar
index c587dc2..7094d8c 100644
--- a/testdata/log.txtar
+++ b/testdata/log.txtar
@@ -670,7 +670,7 @@ Hello, world!
 > Host: example\.com
 > User-Agent: Robot/0\.1 crawler@example\.com
 
-\* x509: .+
+\* .*x509: .+
 -- TestOutgoingTooLongResponse --
 * Request to %s
 > GET /long-response HTTP/1.1
