From c606e9fd6c4a8b9a49d3d276d1547f985accc92f Mon Sep 17 00:00:00 2001 From: ferhat elmas Date: Sun, 26 Nov 2017 23:45:51 +0100 Subject: all: fixes for ineffective assign --- plumbing/object/commit_test.go | 1 + 1 file changed, 1 insertion(+) (limited to 'plumbing/object/commit_test.go') 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) -- cgit