diff options
author | Michael Muré <batolettre@gmail.com> | 2018-09-29 11:28:18 +0200 |
---|---|---|
committer | Michael Muré <batolettre@gmail.com> | 2018-09-29 11:28:18 +0200 |
commit | 41e61a67b63e4d6c517005cf6f427115a664bdb5 (patch) | |
tree | 889066eab537b19ad41196b47d803a9d5a3f031e /bug/op_create_test.go | |
parent | 794d014fae9a78bd8664e6628a20902bd6dc767a (diff) | |
download | git-bug-41e61a67b63e4d6c517005cf6f427115a664bdb5.tar.gz |
bug: apply an operation with a pointer to the snapshot
Diffstat (limited to 'bug/op_create_test.go')
-rw-r--r-- | bug/op_create_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bug/op_create_test.go b/bug/op_create_test.go index 338067aa..2c5ae35b 100644 --- a/bug/op_create_test.go +++ b/bug/op_create_test.go @@ -18,7 +18,7 @@ func TestCreate(t *testing.T) { create := NewCreateOp(rene, unix, "title", "message", nil) - snapshot = create.Apply(snapshot) + create.Apply(&snapshot) expected := Snapshot{ Title: "title", |