diff options
author | Michael Muré <batolettre@gmail.com> | 2018-09-30 17:15:54 +0200 |
---|---|---|
committer | Michael Muré <batolettre@gmail.com> | 2018-09-30 17:15:54 +0200 |
commit | 7f86898ef9a8f9e866835ece3c9824a8edc58036 (patch) | |
tree | 5c5733c9272f3477317935bde6ecb4680276b717 /bug/op_create_test.go | |
parent | d71bb7dd7632780cf5aad5fda84027fa03a9d0f0 (diff) | |
download | git-bug-7f86898ef9a8f9e866835ece3c9824a8edc58036.tar.gz |
bug: use deditated type for all TimelineItem
Diffstat (limited to 'bug/op_create_test.go')
-rw-r--r-- | bug/op_create_test.go | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/bug/op_create_test.go b/bug/op_create_test.go index f27f6ee0..d74051ec 100644 --- a/bug/op_create_test.go +++ b/bug/op_create_test.go @@ -36,7 +36,9 @@ func TestCreate(t *testing.T) { Author: rene, CreatedAt: create.Time(), Timeline: []TimelineItem{ - NewCreateTimelineItem(hash, comment), + &CreateTimelineItem{ + CommentTimelineItem: NewCommentTimelineItem(hash, comment), + }, }, } |