diff options
Diffstat (limited to 'bug')
-rw-r--r-- | bug/bug_actions_test.go | 3 | ||||
-rw-r--r-- | bug/bug_test.go | 3 | ||||
-rw-r--r-- | bug/label.go | 2 |
3 files changed, 3 insertions, 5 deletions
diff --git a/bug/bug_actions_test.go b/bug/bug_actions_test.go index 4d42fb1d..345b5e9a 100644 --- a/bug/bug_actions_test.go +++ b/bug/bug_actions_test.go @@ -1,13 +1,12 @@ package bug import ( + "testing" "time" "github.com/MichaelMure/git-bug/identity" "github.com/MichaelMure/git-bug/util/test" "github.com/stretchr/testify/require" - - "testing" ) func TestPushPull(t *testing.T) { diff --git a/bug/bug_test.go b/bug/bug_test.go index e104f921..4c3952eb 100644 --- a/bug/bug_test.go +++ b/bug/bug_test.go @@ -1,13 +1,12 @@ package bug import ( + "testing" "time" "github.com/MichaelMure/git-bug/identity" "github.com/MichaelMure/git-bug/repository" "github.com/stretchr/testify/assert" - - "testing" ) func TestBugId(t *testing.T) { diff --git a/bug/label.go b/bug/label.go index b73222dd..0ad84f22 100644 --- a/bug/label.go +++ b/bug/label.go @@ -28,7 +28,7 @@ func (l *Label) UnmarshalGQL(v interface{}) error { // MarshalGQL implements the graphql.Marshaler interface func (l Label) MarshalGQL(w io.Writer) { - w.Write([]byte(`"` + l.String() + `"`)) + _, _ = w.Write([]byte(`"` + l.String() + `"`)) } func (l Label) Validate() error { |