Cleanup
This commit is contained in:
parent
327a804959
commit
a5bd3130c4
2 changed files with 0 additions and 3 deletions
|
|
@ -593,7 +593,6 @@ func TestIssueStateTitleWithColor(t *testing.T) {
|
|||
state string
|
||||
want string
|
||||
}{
|
||||
|
||||
"Open state": {state: "OPEN", want: "Open"},
|
||||
"Closed state": {state: "CLOSED", want: "Closed"},
|
||||
}
|
||||
|
|
|
|||
|
|
@ -845,12 +845,10 @@ func TestReplaceExcessiveWhitespace(t *testing.T) {
|
|||
}
|
||||
|
||||
func TestPrStateTitleWithColor(t *testing.T) {
|
||||
|
||||
tests := map[string]struct {
|
||||
pr api.PullRequest
|
||||
want string
|
||||
}{
|
||||
|
||||
"Format OPEN state": {pr: api.PullRequest{State: "OPEN", IsDraft: false}, want: "Open"},
|
||||
"Format OPEN state for Draft PR": {pr: api.PullRequest{State: "OPEN", IsDraft: true}, want: "Draft"},
|
||||
"Format CLOSED state": {pr: api.PullRequest{State: "CLOSED", IsDraft: false}, want: "Closed"},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue