errors: Fix test

This commit is contained in:
Matthew Holt 2015-09-24 11:26:52 -06:00
parent 104a5998cb
commit 6001c94f30

View file

@ -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,
},
}