diff options
author | Michael Muré <batolettre@gmail.com> | 2019-11-19 20:03:57 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-11-19 20:03:57 +0100 |
commit | 62fea2615d2bb870721b745a5dbe017772f20918 (patch) | |
tree | ebddc8a7919e95231b50b1d37f2f9acc324cd6d8 /bug/bug_test.go | |
parent | e01cefff9826589b77bd34464301f196112d68f7 (diff) | |
parent | 283e97111b0b39a4e8f7717234f0bfbbb4f481af (diff) | |
download | git-bug-62fea2615d2bb870721b745a5dbe017772f20918.tar.gz |
Merge pull request #213 from MichaelMure/hash-collision
bug: make sure there is no Operation's hash collision
Diffstat (limited to 'bug/bug_test.go')
-rw-r--r-- | bug/bug_test.go | 3 |
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()) |