diff options
author | Michael Muré <batolettre@gmail.com> | 2018-09-24 20:19:16 +0200 |
---|---|---|
committer | Michael Muré <batolettre@gmail.com> | 2018-09-24 20:19:16 +0200 |
commit | a72ea453a919b8f456cc46fbb7a1156d9f649442 (patch) | |
tree | fd3b0abae75df2d29184a3b98c681badce8ee4c8 /operations/operations_test.go | |
parent | c4a207622a894ba9839f1a3c47c9d78beff9b861 (diff) | |
download | git-bug-a72ea453a919b8f456cc46fbb7a1156d9f649442.tar.gz git-bug-a72ea453a919b8f456cc46fbb7a1156d9f649442.zip |
bug: add the ability to store arbitrary metadata on an operation
Diffstat (limited to 'operations/operations_test.go')
-rw-r--r-- | operations/operations_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/operations/operations_test.go b/operations/operations_test.go index 6fba7917..b74dd8d1 100644 --- a/operations/operations_test.go +++ b/operations/operations_test.go @@ -34,7 +34,7 @@ func TestValidate(t *testing.T) { NewSetStatusOp(bug.Person{Name: "René Descartes", Email: "rene@descartes.fr\u001b"}, bug.ClosedStatus), NewSetStatusOp(bug.Person{Name: "René \nDescartes", Email: "rene@descartes.fr"}, bug.ClosedStatus), NewSetStatusOp(bug.Person{Name: "René Descartes", Email: "rene@\ndescartes.fr"}, bug.ClosedStatus), - CreateOperation{OpBase: bug.OpBase{ + CreateOperation{OpBase: &bug.OpBase{ Author: rene, UnixTime: 0, OperationType: bug.CreateOp, |