aboutsummaryrefslogtreecommitdiff
path: root/http_server_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'http_server_test.go')
-rw-r--r--http_server_test.go7
1 files changed, 2 insertions, 5 deletions
diff --git a/http_server_test.go b/http_server_test.go
index 28b3086..8b08c46 100644
--- a/http_server_test.go
+++ b/http_server_test.go
@@ -111,12 +111,9 @@ func dummyGorankusuServe(t *testing.T, reqparams httpRequestParams) (rawResp []b
body.Write(reqparams.body)
- var httpreq = httptest.NewRequest(
- reqparams.method,
- reqparams.path,
- &body)
+ var httpreq = httptest.NewRequest(reqparams.method, reqparams.path, &body)
- dummyGorankusu.Httpd.ServeHTTP(recorder, httpreq)
+ exGorankusu.Httpd.ServeHTTP(recorder, httpreq)
var (
httpres = recorder.Result()