1
0
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:
Andy Grunwald 2016-03-27 14:19:28 +02:00
parent ec697566b2
commit 3f43c29b5c

View File

@ -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)
}
}