mirror of
https://github.com/interviewstreet/go-jira.git
synced 2025-02-03 13:11:49 +02:00
fixed test case
This commit is contained in:
parent
8e67015ef3
commit
1eae640dbf
@ -231,8 +231,7 @@ func TestDo_HTTPResponse(t *testing.T) {
|
|||||||
})
|
})
|
||||||
|
|
||||||
req, _ := testClient.NewRequest("GET", "/", nil)
|
req, _ := testClient.NewRequest("GET", "/", nil)
|
||||||
body := new(foo)
|
res, _ := testClient.Do(req, nil)
|
||||||
res, _ := testClient.Do(req, body)
|
|
||||||
_, err := ioutil.ReadAll(res.Body)
|
_, err := ioutil.ReadAll(res.Body)
|
||||||
|
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user