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.go5
1 files changed, 1 insertions, 4 deletions
diff --git a/bug/bug_test.go b/bug/bug_test.go
index 6363f4e9..d6ef6fa1 100644
--- a/bug/bug_test.go
+++ b/bug/bug_test.go
@@ -25,10 +25,7 @@ func TestBugId(t *testing.T) {
bug1.Append(createOp)
err = bug1.Commit(mockRepo)
-
- if err != nil {
- t.Fatal(err)
- }
+ require.NoError(t, err)
bug1.Id()
}