mirror of
https://github.com/interviewstreet/go-jira.git
synced 2025-01-24 03:16:18 +02:00
Fixed Errorf usage
This commit is contained in:
parent
ec697566b2
commit
3f43c29b5c
@ -73,7 +73,7 @@ func TestIssueAddComment(t *testing.T) {
|
||||
t.Error("Expected Comment. Comment is nil")
|
||||
}
|
||||
if err != nil {
|
||||
t.Error("Error given: %s", err)
|
||||
t.Errorf("Error given: %s", err)
|
||||
}
|
||||
}
|
||||
|
||||
@ -113,6 +113,6 @@ func TestIssueAddLink(t *testing.T) {
|
||||
t.Errorf("Expected Status code 200. Given %d", resp.StatusCode)
|
||||
}
|
||||
if err != nil {
|
||||
t.Error("Error given: %s", err)
|
||||
t.Errorf("Error given: %s", err)
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user