diff options
Diffstat (limited to 'bug/op_label_change_test.go')
-rw-r--r-- | bug/op_label_change_test.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/bug/op_label_change_test.go b/bug/op_label_change_test.go index f5550b72..7c311a8b 100644 --- a/bug/op_label_change_test.go +++ b/bug/op_label_change_test.go @@ -21,5 +21,8 @@ func TestLabelChangeSerialize(t *testing.T) { err = json.Unmarshal(data, &after) assert.NoError(t, err) + // enforce creating the ID + before.ID() + assert.Equal(t, before, &after) } |