diff --git a/config/setup/headers_test.go b/config/setup/headers_test.go index 5abc56b7..81c758ae 100644 --- a/config/setup/headers_test.go +++ b/config/setup/headers_test.go @@ -21,7 +21,7 @@ func TestHeaders(t *testing.T) { handler := mid(emptyNext) myHandler, ok := handler.(headers.Headers) if !ok { - t.Fatalf("Expected handler to be type BasicAuth, got: %#v", handler) + t.Fatalf("Expected handler to be type Headers, got: %#v", handler) } if !sameNext(myHandler.Next, emptyNext) {