diff options
author | Michael Muré <batolettre@gmail.com> | 2018-10-01 11:37:17 +0200 |
---|---|---|
committer | Michael Muré <batolettre@gmail.com> | 2018-10-01 11:37:17 +0200 |
commit | 3402230a5537d95ce26bf7fa0d33330823a59f08 (patch) | |
tree | abdc5a871e995446da40406754adc11c4e3befe7 /bug/operation_test.go | |
parent | 7f86898ef9a8f9e866835ece3c9824a8edc58036 (diff) | |
download | git-bug-3402230a5537d95ce26bf7fa0d33330823a59f08.tar.gz |
bug: use a value embedding for OpBase
Diffstat (limited to 'bug/operation_test.go')
-rw-r--r-- | bug/operation_test.go | 2 |
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, |