Commit da756236 authored by Matthew Holt's avatar Matthew Holt

errors: Restore http status text in test

parent 6001c94f
......@@ -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("could not load error page %s: %v\n",
"not_exist_file", notExistErr),
expectedLog: fmt.Sprintf("[HTTP %d] could not load error page %s: %v\n",
http.StatusForbidden, "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