aboutsummaryrefslogtreecommitdiffstats
path: root/repository_test.go
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 /repository_test.go
parent60c567f0a3c22ac53f219fcc6482ee0e2ff425e6 (diff)
downloadgo-git-c606e9fd6c4a8b9a49d3d276d1547f985accc92f.tar.gz
all: fixes for ineffective assign
Diffstat (limited to 'repository_test.go')
-rw-r--r--repository_test.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/repository_test.go b/repository_test.go
index a4664ed..9d82651 100644
--- a/repository_test.go
+++ b/repository_test.go
@@ -82,6 +82,7 @@ func (s *RepositorySuite) TestInitStandardDotGit(c *C) {
c.Assert(r, NotNil)
l, err := fs.ReadDir(".git")
+ c.Assert(err, IsNil)
c.Assert(len(l) > 0, Equals, true)
cfg, err := r.Config()
@@ -439,6 +440,7 @@ func (s *RepositorySuite) TestPlainCloneWithRecurseSubmodules(c *C) {
c.Assert(err, IsNil)
cfg, err := r.Config()
+ c.Assert(err, IsNil)
c.Assert(cfg.Remotes, HasLen, 1)
c.Assert(cfg.Submodules, HasLen, 2)
}