Skip to content

Commit 062368c

Browse files
committed
Fix formatting of web_test.go
There was an extra space before the call to http.StatusText. A check has been added to Drone to catch these issues.
1 parent acfbad6 commit 062368c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

web_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ var tests = []Test{
237237
{"GET", "/error/notfound/notfound", nil, "", 404, "notfound"},
238238
{"GET", "/doesnotexist", nil, "", 404, "Page not found"},
239239
{"POST", "/doesnotexist", nil, "", 404, "Page not found"},
240-
{"GET", "/error/code/500", nil, "", 500, http.StatusText(500)},
240+
{"GET", "/error/code/500", nil, "", 500, http.StatusText(500)},
241241
{"POST", "/posterror/code/410/failedrequest", nil, "", 410, "failedrequest"},
242242
{"GET", "/getparam?a=abcd", nil, "", 200, "abcd"},
243243
{"GET", "/getparam?b=abcd", nil, "", 200, ""},

0 commit comments

Comments
 (0)