aboutsummaryrefslogtreecommitdiffstats
path: root/plumbing
diff options
context:
space:
mode:
authorferhat elmas <elmas.ferhat@gmail.com>2017-11-26 23:45:51 +0100
committerferhat elmas <elmas.ferhat@gmail.com>2017-11-26 23:45:52 +0100
commitc606e9fd6c4a8b9a49d3d276d1547f985accc92f (patch)
tree791b48688be56d5936f9384559b234dfddf9a885 /plumbing
parent60c567f0a3c22ac53f219fcc6482ee0e2ff425e6 (diff)
downloadgo-git-c606e9fd6c4a8b9a49d3d276d1547f985accc92f.tar.gz
all: fixes for ineffective assign
Diffstat (limited to 'plumbing')
-rw-r--r--plumbing/object/commit_test.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/plumbing/object/commit_test.go b/plumbing/object/commit_test.go
index 2f5e075..191b14d 100644
--- a/plumbing/object/commit_test.go
+++ b/plumbing/object/commit_test.go
@@ -194,6 +194,7 @@ func (s *SuiteCommit) TestStringMultiLine(c *C) {
f := fixtures.ByURL("https://github.com/src-d/go-git.git").One()
sto, err := filesystem.NewStorage(f.DotGit())
+ c.Assert(err, IsNil)
o, err := sto.EncodedObject(plumbing.CommitObject, hash)
c.Assert(err, IsNil)