diff --git a/modules/caddyhttp/matchers_test.go b/modules/caddyhttp/matchers_test.go index 3471c40c8..041975d80 100644 --- a/modules/caddyhttp/matchers_test.go +++ b/modules/caddyhttp/matchers_test.go @@ -1145,9 +1145,3 @@ func BenchmarkHostMatcherWithPlaceholder(b *testing.B) { match.Match(req) } } - -func TestConformsToNamespace(t *testing.T) { - if ok, err := caddy.ConformsToNamespace(new(StaticResponse), "http.matchers"); !ok || err != nil { - t.Errorf("%s", err) - } -}