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.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/bug/bug_test.go b/bug/bug_test.go
index d85db6d2..6504da1a 100644
--- a/bug/bug_test.go
+++ b/bug/bug_test.go
@@ -74,6 +74,9 @@ func TestBugSerialisation(t *testing.T) {
// ignore some fields
bug2.packs[0].commitHash = bug1.packs[0].commitHash
+ for i := range bug1.packs[0].Operations {
+ bug2.packs[0].Operations[i].base().hash = bug1.packs[0].Operations[i].base().hash
+ }
deep.CompareUnexportedFields = true
if diff := deep.Equal(bug1, bug2); diff != nil {