From 6001c94f30993c834fe8bc0096bb66a760632304 Mon Sep 17 00:00:00 2001 From: Matthew Holt Date: Thu, 24 Sep 2015 11:26:52 -0600 Subject: [PATCH] errors: Fix test --- middleware/errors/errors_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/middleware/errors/errors_test.go b/middleware/errors/errors_test.go index 7f975bc9..2168e6b7 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, }, }