diff options
author | Michael Muré <batolettre@gmail.com> | 2022-03-15 22:01:10 +0100 |
---|---|---|
committer | Michael Muré <batolettre@gmail.com> | 2022-03-15 22:01:10 +0100 |
commit | c5b70d8d94bda20fb8834782ccdb1dbdfb85b052 (patch) | |
tree | 134b0417fd3db06967a8cbd29e42140fd24643cf /bug/op_edit_comment_test.go | |
parent | cac20c8c4dc9524773c1296165fe596cb9035202 (diff) | |
download | git-bug-c5b70d8d94bda20fb8834782ccdb1dbdfb85b052.tar.gz |
bug: don't serialize multiple time the author, only once in OperationPack
Diffstat (limited to 'bug/op_edit_comment_test.go')
-rw-r--r-- | bug/op_edit_comment_test.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/bug/op_edit_comment_test.go b/bug/op_edit_comment_test.go index 5ba94706..62034a0b 100644 --- a/bug/op_edit_comment_test.go +++ b/bug/op_edit_comment_test.go @@ -93,8 +93,7 @@ func TestEditCommentSerialize(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) |