aboutsummaryrefslogtreecommitdiffstats
path: root/bug/bug_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'bug/bug_test.go')
-rw-r--r--bug/bug_test.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/bug/bug_test.go b/bug/bug_test.go
index a7759ad8..0fd373d5 100644
--- a/bug/bug_test.go
+++ b/bug/bug_test.go
@@ -3,6 +3,7 @@ package bug
import (
"github.com/MichaelMure/git-bug/repository"
"github.com/go-test/deep"
+ "github.com/stretchr/testify/assert"
"testing"
)
@@ -65,7 +66,8 @@ func TestBugSerialisation(t *testing.T) {
repo := repository.NewMockRepoForTest()
- bug1.Commit(repo)
+ err := bug1.Commit(repo)
+ assert.Nil(t, err)
bug2, err := ReadLocalBug(repo, bug1.Id())
if err != nil {