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",