mirror of
https://github.com/interviewstreet/go-jira.git
synced 2025-01-05 22:53:53 +02:00
Fixed govet error: arg inBody for printf verb %q of wrong type: *jira.Issue (vet)
This commit is contained in:
parent
f03b4daf2f
commit
957b42073b
@ -119,7 +119,7 @@ func TestNewRequest(t *testing.T) {
|
|||||||
// Test that body was JSON encoded
|
// Test that body was JSON encoded
|
||||||
body, _ := ioutil.ReadAll(req.Body)
|
body, _ := ioutil.ReadAll(req.Body)
|
||||||
if got, want := string(body), outBody; got != want {
|
if got, want := string(body), outBody; got != want {
|
||||||
t.Errorf("NewRequest(%q) Body is %v, want %v", inBody, got, want)
|
t.Errorf("NewRequest(%v) Body is %v, want %v", inBody, got, want)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user