aboutsummaryrefslogtreecommitdiffstats
path: root/blame_test.go
diff options
context:
space:
mode:
authorShane Da Silva <shanemichaeldasilva@gmail.com>2018-02-19 09:19:00 -0800
committerShane Da Silva <shanemichaeldasilva@gmail.com>2018-02-19 09:19:00 -0800
commit0c19e6b0cb696005d94e4385303ef8b48376b92f (patch)
tree13d95f57f19e615a0282245b12681f65b0ee6d0d /blame_test.go
parent3f00f5f02f0b2a1beb6d4ad5cac5e2a0f4c13853 (diff)
downloadgo-git-0c19e6b0cb696005d94e4385303ef8b48376b92f.tar.gz
blame.go: Add blame line data
Signed-off-by: Shane Da Silva <shanemichaeldasilva@gmail.com>
Diffstat (limited to 'blame_test.go')
-rw-r--r--blame_test.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/blame_test.go b/blame_test.go
index 5374610..51c546a 100644
--- a/blame_test.go
+++ b/blame_test.go
@@ -53,6 +53,7 @@ func (s *BlameSuite) mockBlame(c *C, t blameTest, r *Repository) (blame *BlameRe
l := &Line{
Author: commit.Author.Email,
Text: lines[i],
+ Date: commit.Author.When,
}
blamedLines = append(blamedLines, l)
}