aboutsummaryrefslogtreecommitdiffstats
path: root/submodule_test.go
diff options
context:
space:
mode:
authorMáximo Cuadros <mcuadros@gmail.com>2017-06-17 12:53:39 +0200
committerGitHub <noreply@github.com>2017-06-17 12:53:39 +0200
commit86f6ba1dea8972df7c017e01ddb2c097892bc220 (patch)
treea7add5abd733fbc4362d80eecd5fa16f23a21901 /submodule_test.go
parentbf3a92052f715c507ace0cb9f2b7fb358f623abc (diff)
parentaba32ceed59d77c84038fa421b230e1ea76a5e6b (diff)
downloadgo-git-86f6ba1dea8972df7c017e01ddb2c097892bc220.tar.gz
Merge pull request #369 from smola/windows
Windows support
Diffstat (limited to 'submodule_test.go')
-rw-r--r--submodule_test.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/submodule_test.go b/submodule_test.go
index fdbe4a8..2d3f7a6 100644
--- a/submodule_test.go
+++ b/submodule_test.go
@@ -127,7 +127,8 @@ func (s *SubmoduleSuite) TestUpdateWithRecursion(c *C) {
c.Assert(err, IsNil)
- _, err = s.Worktree.fs.Stat("itself/basic/LICENSE")
+ fs := s.Worktree.fs
+ _, err = fs.Stat(fs.Join("itself", "basic", "LICENSE"))
c.Assert(err, IsNil)
}