From 44314e78d08b5c84fca3113a67406d7ef0232959 Mon Sep 17 00:00:00 2001 From: Owen Ou Date: Sun, 3 Sep 2023 10:08:27 -0700 Subject: [PATCH] Fix test error messag --- server/server_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/server_test.go b/server/server_test.go index 602f5d2f..55594cad 100644 --- a/server/server_test.go +++ b/server/server_test.go @@ -238,7 +238,7 @@ func Test_Server_Shutdown(t *testing.T) { AdminAddr: "invalid-addr", DnsAddr: randomAddr(t), }, - WantErrMsg: "loading new config: starting caddy administration endpoint: listen tcp: lookup invalid-addr: no such host", + WantErrMsg: "loading new config: starting caddy administration endpoint: listen tcp: lookup invalid-addr", }, { Name: "invalid host root",