Skip to content

Commit 6fe88ca

Browse files
alexandearjeevatkm
authored andcommitted
chore: fix typos in tests (#1063)
1 parent d6f0966 commit 6fe88ca

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

middleware_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ func Test_parseRequestURL(t *testing.T) {
194194
expectedURL: "https://example.com/foo/bar",
195195
},
196196
{
197-
name: "using BaseURL with relative path in request URL wit leading slash",
197+
name: "using BaseURL with relative path in request URL with leading slash",
198198
initClient: func(c *Client) {
199199
c.SetBaseURL("https://example.com")
200200
},
@@ -505,7 +505,7 @@ func TestParseRequestBody(t *testing.T) {
505505
expectedContentType: plainTextType,
506506
},
507507
{
508-
name: "string body with GET method and AllowMethodGetPayload by requst",
508+
name: "string body with GET method and AllowMethodGetPayload by request",
509509
initRequest: func(r *Request) {
510510
r.SetAllowMethodGetPayload(true)
511511
r.SetBody("foo")

request_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2083,7 +2083,7 @@ func TestPostMapTemporaryRedirect(t *testing.T) {
20832083
assertEqual(t, http.StatusOK, resp.StatusCode())
20842084
}
20852085

2086-
func TestPostWith204Responset(t *testing.T) {
2086+
func TestPostWith204Response(t *testing.T) {
20872087
ts := createPostServer(t)
20882088
defer ts.Close()
20892089

0 commit comments

Comments
 (0)