Skip to content

Commit

Permalink
format code
Browse files Browse the repository at this point in the history
  • Loading branch information
pojozhang committed Feb 21, 2019
1 parent 3830155 commit f924b20
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions request_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -555,6 +555,7 @@ func TestDownloadFileWithUnknownExt(t *testing.T) {

func TestClient_NewRequest(t *testing.T) {
req, err := NewRequest(http.MethodGet, "http://api.example.com/books/:id", Path{"id": 1})

assert.Nil(t, err)
assert.Equal(t, "http://api.example.com/books/1", req.URL.String())
}
Expand Down

0 comments on commit f924b20

Please sign in to comment.