aboutsummaryrefslogtreecommitdiffstats
path: root/operations/operations_test.go
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2018-09-24 20:19:16 +0200
committerMichael Muré <batolettre@gmail.com>2018-09-24 20:19:16 +0200
commita72ea453a919b8f456cc46fbb7a1156d9f649442 (patch)
treefd3b0abae75df2d29184a3b98c681badce8ee4c8 /operations/operations_test.go
parentc4a207622a894ba9839f1a3c47c9d78beff9b861 (diff)
downloadgit-bug-a72ea453a919b8f456cc46fbb7a1156d9f649442.tar.gz
bug: add the ability to store arbitrary metadata on an operation
Diffstat (limited to 'operations/operations_test.go')
-rw-r--r--operations/operations_test.go2
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,