aboutsummaryrefslogtreecommitdiffstats
path: root/bug/operations/create_test.go
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2018-08-01 02:15:40 +0200
committerMichael Muré <batolettre@gmail.com>2018-08-01 02:17:06 +0200
commitc875d40e631f83507b602807480be96dae05fc85 (patch)
treea81b0909eda009acb395d936d1e2bf09e03cff3a /bug/operations/create_test.go
parent2f88c28c59ce0480e64dfba6d820dc6f7589a6cf (diff)
downloadgit-bug-c875d40e631f83507b602807480be96dae05fc85.tar.gz
termui: add a view to display a bug
Diffstat (limited to 'bug/operations/create_test.go')
-rw-r--r--bug/operations/create_test.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/bug/operations/create_test.go b/bug/operations/create_test.go
index 8aade05f..11b907c8 100644
--- a/bug/operations/create_test.go
+++ b/bug/operations/create_test.go
@@ -23,6 +23,8 @@ func TestCreate(t *testing.T) {
Comments: []bug.Comment{
{Author: rene, Message: "message", UnixTime: create.UnixTime},
},
+ Author: rene,
+ CreatedAt: create.Time(),
}
if !reflect.DeepEqual(snapshot, expected) {