Commit 6001c94f authored by Matthew Holt's avatar Matthew Holt

errors: Fix test

parent 104a5998
......@@ -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,
},
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment