diff options
author | Michael Muré <batolettre@gmail.com> | 2018-07-14 22:18:40 +0200 |
---|---|---|
committer | Michael Muré <batolettre@gmail.com> | 2018-07-14 22:18:40 +0200 |
commit | d973718567b0f7a7e775dbab2c557f0dda9afa29 (patch) | |
tree | 9cdaa94f72b62de0af65e77015587ad2093b3600 /bug/operations/create_test.go | |
parent | da470993d13ce63087034db9b7e8ffbdf18e87a5 (diff) | |
download | git-bug-d973718567b0f7a7e775dbab2c557f0dda9afa29.tar.gz |
add time to comments
Diffstat (limited to 'bug/operations/create_test.go')
-rw-r--r-- | bug/operations/create_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bug/operations/create_test.go b/bug/operations/create_test.go index 35e515ac..bd73fc1a 100644 --- a/bug/operations/create_test.go +++ b/bug/operations/create_test.go @@ -21,11 +21,11 @@ func TestCreate(t *testing.T) { expected := bug.Snapshot{ Title: "title", Comments: []bug.Comment{ - {Author: rene, Message: "message"}, + {Author: rene, Message: "message", Time: create.Time}, }, } if !reflect.DeepEqual(snapshot, expected) { - t.Fail() + t.Fatalf("%s different than %s", snapshot, expected) } } |