There was an error while loading. Please reload this page.
1 parent 3635011 commit 3ea60d4Copy full SHA for 3ea60d4
1 file changed
info_test.go
@@ -62,7 +62,7 @@ func TestServerName(t *testing.T) {
62
srv.Handler = http.HandlerFunc(func(_ http.ResponseWriter, req *http.Request) {
63
assert.Equal(t, want, ServerName(req.Context()))
64
})
65
- srv.start()
+ require.NoError(t, srv.start())
66
srv.httpServer.Handler.ServeHTTP(nil, httptest.NewRequest(http.MethodGet, "/", nil))
67
68
}
0 commit comments