Fixed a few linter hints

This commit is contained in:
2019-06-07 10:03:16 +09:00
parent 0e4f7fe6ec
commit f464e830bf
21 changed files with 52 additions and 29 deletions

View File

@ -110,7 +110,7 @@ func TestQuotePages(t *testing.T) {
// }
// }
func testRoute(t *testing.T, app *aero.Application, route string) {
func testRoute(t *testing.T, app http.Handler, route string) {
request := httptest.NewRequest("GET", strings.ReplaceAll(route, " ", "%20"), nil)
response := httptest.NewRecorder()
app.ServeHTTP(response, request)