diff --git a/middleware_test.go b/middleware_test.go index 29c67f34..df370a98 100644 --- a/middleware_test.go +++ b/middleware_test.go @@ -194,7 +194,7 @@ func Test_parseRequestURL(t *testing.T) { expectedURL: "https://example.com/foo/bar", }, { - name: "using BaseURL with relative path in request URL wit leading slash", + name: "using BaseURL with relative path in request URL with leading slash", initClient: func(c *Client) { c.SetBaseURL("https://example.com") }, @@ -505,7 +505,7 @@ func TestParseRequestBody(t *testing.T) { expectedContentType: plainTextType, }, { - name: "string body with GET method and AllowMethodGetPayload by requst", + name: "string body with GET method and AllowMethodGetPayload by request", initRequest: func(r *Request) { r.SetAllowMethodGetPayload(true) r.SetBody("foo") diff --git a/request_test.go b/request_test.go index 784bc5dd..6c827ae7 100644 --- a/request_test.go +++ b/request_test.go @@ -2054,7 +2054,7 @@ func TestPostMapTemporaryRedirect(t *testing.T) { assertEqual(t, http.StatusOK, resp.StatusCode()) } -func TestPostWith204Responset(t *testing.T) { +func TestPostWith204Response(t *testing.T) { ts := createPostServer(t) defer ts.Close()