Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions middleware_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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")
},
Expand Down Expand Up @@ -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")
Expand Down
2 changes: 1 addition & 1 deletion request_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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()

Expand Down