aboutsummaryrefslogtreecommitdiffstats
path: root/plumbing/object/commit_test.go
diff options
context:
space:
mode:
authorPaulo Gomes <pjbgf@linux.com>2024-03-11 20:36:57 +0000
committerGitHub <noreply@github.com>2024-03-11 20:36:57 +0000
commitf4f1a876e622c45ed51d05df1298d421a6868fcc (patch)
treef7c0723cc101f8c5a7d336f3c2a60cc29cc1b60d /plumbing/object/commit_test.go
parentca05e2c4d8cb1801d3a8c12773bac206774871a3 (diff)
parentd058d588e5f7078c44ba42cfd7d2af61e58c2856 (diff)
downloadgo-git-f4f1a876e622c45ed51d05df1298d421a6868fcc.tar.gz
Merge pull request #971 from nodivbyzero/fix-177-diff-print-file-stats
plumbing: no panic in printStats function. Fixes #177
Diffstat (limited to 'plumbing/object/commit_test.go')
-rw-r--r--plumbing/object/commit_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/plumbing/object/commit_test.go b/plumbing/object/commit_test.go
index 6651ef8..a048926 100644
--- a/plumbing/object/commit_test.go
+++ b/plumbing/object/commit_test.go
@@ -455,7 +455,7 @@ func (s *SuiteCommit) TestStat(c *C) {
c.Assert(fileStats[1].Name, Equals, "php/crappy.php")
c.Assert(fileStats[1].Addition, Equals, 259)
c.Assert(fileStats[1].Deletion, Equals, 0)
- c.Assert(fileStats[1].String(), Equals, " php/crappy.php | 259 ++++++++++++++++++++++++++++++++++++++++++++++++++++\n")
+ c.Assert(fileStats[1].String(), Equals, " php/crappy.php | 259 +++++++++++++++++++++++++++++++++++++++++++++++++++++\n")
}
func (s *SuiteCommit) TestVerify(c *C) {