aboutsummaryrefslogtreecommitdiffstats
path: root/bug/with_snapshot.go
diff options
context:
space:
mode:
Diffstat (limited to 'bug/with_snapshot.go')
-rw-r--r--bug/with_snapshot.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/bug/with_snapshot.go b/bug/with_snapshot.go
index 0aa3b37d..a004324b 100644
--- a/bug/with_snapshot.go
+++ b/bug/with_snapshot.go
@@ -28,6 +28,8 @@ func (b *WithSnapshot) Append(op Operation) {
}
snap := op.Apply(*b.snap)
+ snap.Operations = append(snap.Operations, op)
+
b.snap = &snap
}