mirror of
https://github.com/interviewstreet/go-jira.git
synced 2025-03-19 20:57:47 +02:00
go fmt
This commit is contained in:
parent
e3921e7773
commit
ec697566b2
2
issue.go
2
issue.go
@ -171,7 +171,7 @@ type IssueLink struct {
|
||||
Type IssueLinkType `json:"type"`
|
||||
OutwardIssue Issue `json:"outwardIssue"`
|
||||
InwardIssue Issue `json:"inwardIssue"`
|
||||
Comment Comment `json:"comment"`
|
||||
Comment Comment `json:"comment"`
|
||||
}
|
||||
|
||||
// IssueLinkType represents a type of a link between to issues in JIRA.
|
||||
|
@ -64,7 +64,7 @@ func TestIssueAddComment(t *testing.T) {
|
||||
c := &Comment{
|
||||
Body: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque eget venenatis elit. Duis eu justo eget augue iaculis fermentum. Sed semper quam laoreet nisi egestas at posuere augue semper.",
|
||||
Visibility: CommentVisibility{
|
||||
Type: "role",
|
||||
Type: "role",
|
||||
Value: "Administrators",
|
||||
},
|
||||
}
|
||||
@ -100,7 +100,7 @@ func TestIssueAddLink(t *testing.T) {
|
||||
Comment: Comment{
|
||||
Body: "Linked related issue!",
|
||||
Visibility: CommentVisibility{
|
||||
Type: "group",
|
||||
Type: "group",
|
||||
Value: "jira-software-users",
|
||||
},
|
||||
},
|
||||
@ -115,4 +115,4 @@ func TestIssueAddLink(t *testing.T) {
|
||||
if err != nil {
|
||||
t.Error("Error given: %s", err)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user