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:
parent
0d5a8a7383
commit
37b1a81fc7
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue