diff options
author | Matthew Holt <[email protected]> | 2015-09-24 11:26:52 -0600 |
---|---|---|
committer | Matthew Holt <[email protected]> | 2015-09-24 13:46:54 -0600 |
commit | 6001c94f30993c834fe8bc0096bb66a760632304 (patch) | |
tree | a084d8199b5afa1bf2e999cbb0c18c1f56ff66ec /middleware/errors | |
parent | 104a5998cbb52bb47822e9c2a8e791efe035b377 (diff) | |
download | caddy-6001c94f30993c834fe8bc0096bb66a760632304.tar.gz caddy-6001c94f30993c834fe8bc0096bb66a760632304.zip |
errors: Fix test
Diffstat (limited to 'middleware/errors')
-rw-r--r-- | middleware/errors/errors_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/middleware/errors/errors_test.go b/middleware/errors/errors_test.go index 7f975bc92..2168e6b72 100644 --- a/middleware/errors/errors_test.go +++ b/middleware/errors/errors_test.go @@ -82,8 +82,8 @@ func TestErrors(t *testing.T) { expectedCode: 0, expectedBody: fmt.Sprintf("%d %s\n", http.StatusForbidden, http.StatusText(http.StatusForbidden)), - expectedLog: fmt.Sprintf("HTTP %d could not load error page %s: %v\n", - http.StatusForbidden, "not_exist_file", notExistErr), + expectedLog: fmt.Sprintf("could not load error page %s: %v\n", + "not_exist_file", notExistErr), expectedErr: nil, }, } |