From a5bd3130c413576f33f4f16bbe320a9a861c9449 Mon Sep 17 00:00:00 2001 From: Toshiya Doi Date: Wed, 18 Mar 2020 10:03:04 +0900 Subject: [PATCH] Cleanup --- command/issue_test.go | 1 - command/pr_test.go | 2 -- 2 files changed, 3 deletions(-) diff --git a/command/issue_test.go b/command/issue_test.go index 9ee2a692b..6d009ca98 100644 --- a/command/issue_test.go +++ b/command/issue_test.go @@ -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"}, } diff --git a/command/pr_test.go b/command/pr_test.go index a73d6c99e..27f0a064d 100644 --- a/command/pr_test.go +++ b/command/pr_test.go @@ -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"},