0
Fork 0
mirror of https://github.com/caddyserver/caddy.git synced 2024-12-23 22:27:38 -05:00

headers: Corrected copy paste (BasicAuth->Headers)

This commit is contained in:
Peter Hellberg 2015-05-10 07:44:43 +02:00
parent 0d5a8a7383
commit 37b1a81fc7

View file

@ -21,7 +21,7 @@ func TestHeaders(t *testing.T) {
handler := mid(emptyNext) handler := mid(emptyNext)
myHandler, ok := handler.(headers.Headers) myHandler, ok := handler.(headers.Headers)
if !ok { 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) { if !sameNext(myHandler.Next, emptyNext) {