mirror of
https://github.com/interviewstreet/go-jira.git
synced 2025-06-14 23:45:03 +02:00
Comments unmarshaling fixed
This commit is contained in:
@ -138,6 +138,10 @@ func TestIssueFields(t *testing.T) {
|
||||
t.Error("Expected labels for the returned issue")
|
||||
}
|
||||
|
||||
if len(issue.Fields.Comments.Comments) != 1 {
|
||||
t.Errorf("Expected one comment, %v found", len(issue.Fields.Comments.Comments))
|
||||
}
|
||||
|
||||
if err != nil {
|
||||
t.Errorf("Error given: %s", err)
|
||||
}
|
||||
|
Reference in New Issue
Block a user