aboutsummaryrefslogtreecommitdiffstats
path: root/bug/bug_test.go
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2019-08-27 12:11:51 +0200
committerMichael Muré <batolettre@gmail.com>2019-11-19 19:51:18 +0100
commit283e97111b0b39a4e8f7717234f0bfbbb4f481af (patch)
tree9e797d5e5782d6e46a19c306d09135e5ea5ebce5 /bug/bug_test.go
parent67c82f4a2d683e746df5f8af9e0725acd252d29d (diff)
downloadgit-bug-283e97111b0b39a4e8f7717234f0bfbbb4f481af.tar.gz
bug: make sure there is no Operation's hash collision
Diffstat (limited to 'bug/bug_test.go')
-rw-r--r--bug/bug_test.go3
1 files changed, 0 insertions, 3 deletions
diff --git a/bug/bug_test.go b/bug/bug_test.go
index 35e8a395..480d312e 100644
--- a/bug/bug_test.go
+++ b/bug/bug_test.go
@@ -73,8 +73,6 @@ func TestBugCommitLoad(t *testing.T) {
bug1.Append(createOp)
bug1.Append(setTitleOp)
- bug1.Append(setTitleOp)
- bug1.Append(addCommentOp)
repo := repository.NewMockRepoForTest()
@@ -90,7 +88,6 @@ func TestBugCommitLoad(t *testing.T) {
// add more op
- bug1.Append(setTitleOp)
bug1.Append(addCommentOp)
assert.True(t, bug1.NeedCommit())