aboutsummaryrefslogtreecommitdiffstats
path: root/bug/operation_test.go
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2018-10-01 11:37:17 +0200
committerMichael Muré <batolettre@gmail.com>2018-10-01 11:37:17 +0200
commit3402230a5537d95ce26bf7fa0d33330823a59f08 (patch)
treeabdc5a871e995446da40406754adc11c4e3befe7 /bug/operation_test.go
parent7f86898ef9a8f9e866835ece3c9824a8edc58036 (diff)
downloadgit-bug-3402230a5537d95ce26bf7fa0d33330823a59f08.tar.gz
bug: use a value embedding for OpBase
Diffstat (limited to 'bug/operation_test.go')
-rw-r--r--bug/operation_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/bug/operation_test.go b/bug/operation_test.go
index 098cf138..2bf836f0 100644
--- a/bug/operation_test.go
+++ b/bug/operation_test.go
@@ -36,7 +36,7 @@ func TestValidate(t *testing.T) {
NewSetStatusOp(Person{Name: "René Descartes", Email: "rene@descartes.fr\u001b"}, unix, ClosedStatus),
NewSetStatusOp(Person{Name: "René \nDescartes", Email: "rene@descartes.fr"}, unix, ClosedStatus),
NewSetStatusOp(Person{Name: "René Descartes", Email: "rene@\ndescartes.fr"}, unix, ClosedStatus),
- &CreateOperation{OpBase: &OpBase{
+ &CreateOperation{OpBase: OpBase{
Author: rene,
UnixTime: 0,
OperationType: CreateOp,