From a72ea453a919b8f456cc46fbb7a1156d9f649442 Mon Sep 17 00:00:00 2001 From: Michael Muré Date: Mon, 24 Sep 2018 20:19:16 +0200 Subject: bug: add the ability to store arbitrary metadata on an operation --- tests/operation_iterator_test.go | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tests/operation_iterator_test.go') diff --git a/tests/operation_iterator_test.go b/tests/operation_iterator_test.go index 790c8a62..52778e71 100644 --- a/tests/operation_iterator_test.go +++ b/tests/operation_iterator_test.go @@ -25,6 +25,7 @@ func TestOpIterator(t *testing.T) { bug1 := bug.NewBug() + // first pack bug1.Append(createOp) bug1.Append(setTitleOp) bug1.Append(addCommentOp) @@ -32,11 +33,13 @@ func TestOpIterator(t *testing.T) { bug1.Append(labelChangeOp) bug1.Commit(mockRepo) + // second pack bug1.Append(setTitleOp) bug1.Append(setTitleOp) bug1.Append(setTitleOp) bug1.Commit(mockRepo) + // staging bug1.Append(setTitleOp) bug1.Append(setTitleOp) bug1.Append(setTitleOp) -- cgit