diff options
author | Michael Muré <batolettre@gmail.com> | 2022-04-19 21:47:15 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-19 21:47:15 +0200 |
commit | b8a799a97d1f3b743b19a9619785497706166a50 (patch) | |
tree | 60c2cb1ea2c30fce565bfe43668218f8f17647fa /bug/op_set_title_test.go | |
parent | 450d7f7ade2496d4ecb8ae6906f53134c96ca7fb (diff) | |
parent | c5b70d8d94bda20fb8834782ccdb1dbdfb85b052 (diff) | |
download | git-bug-b8a799a97d1f3b743b19a9619785497706166a50.tar.gz |
Merge pull request #767 from MichaelMure/single-author
bug: don't serialize multiple time the author, only once in OperationPack
Diffstat (limited to 'bug/op_set_title_test.go')
-rw-r--r-- | bug/op_set_title_test.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/bug/op_set_title_test.go b/bug/op_set_title_test.go index 7059c4c7..2a227709 100644 --- a/bug/op_set_title_test.go +++ b/bug/op_set_title_test.go @@ -30,8 +30,7 @@ func TestSetTitleSerialize(t *testing.T) { // enforce creating the ID before.Id() - // Replace the identity stub with the real thing - require.Equal(t, rene.Id(), after.Author().Id()) + // Replace the identity as it's not serialized after.Author_ = rene require.Equal(t, before, &after) |