diff --git a/basic/htpasswd_test.go b/basic/htpasswd_test.go index edb5841..565aa9b 100644 --- a/basic/htpasswd_test.go +++ b/basic/htpasswd_test.go @@ -1051,7 +1051,7 @@ func testSystem(t *testing.T, name string, contents string) { req.Header.Add("Authorization", authStr) resp := httptest.NewRecorder() - htp.Handler(resp, req) + htp.ServeHTTP(resp, req) return resp }