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