diff options
Diffstat (limited to 'http_server_test.go')
| -rw-r--r-- | http_server_test.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/http_server_test.go b/http_server_test.go index d8199fd..8b009b6 100644 --- a/http_server_test.go +++ b/http_server_test.go @@ -48,7 +48,7 @@ func TestGorankusuAPITargetRunHTTP_formInputFile(t *testing.T) { for _, c = range listCase { var reqparams = httpRequestParams{ - method: apiTargetRunHTTP.Method.String(), + method: string(apiTargetRunHTTP.Method), path: apiTargetRunHTTP.Path, body: tdata.Input[c.tag+`:http_request_body`], } @@ -87,7 +87,7 @@ func TestGorankusuAPITargetRunHTTP_withRawBody_JSON(t *testing.T) { ) for _, c = range listCase { var reqparams = httpRequestParams{ - method: apiTargetRunHTTP.Method.String(), + method: string(apiTargetRunHTTP.Method), path: apiTargetRunHTTP.Path, body: tdata.Input[c.tag+`:http_request_body`], } @@ -133,7 +133,7 @@ func TestGorankusuAPITargetRunHTTP_withTargetHeaders(t *testing.T) { ) for _, c = range listCase { var reqparams = httpRequestParams{ - method: apiTargetRunHTTP.Method.String(), + method: string(apiTargetRunHTTP.Method), path: apiTargetRunHTTP.Path, body: tdata.Input[c.tag+`:request_body`], } |
