aboutsummaryrefslogtreecommitdiffstats
path: root/submodule_test.go
diff options
context:
space:
mode:
authorSantiago M. Mola <santi@mola.io>2017-04-28 17:35:41 +0200
committerSantiago M. Mola <santi@mola.io>2017-06-02 16:41:37 +0200
commit756fe0c2e49d7a1d5de849026d3843b880b46a4d (patch)
tree88932b08d0a50b62b244b8cba15a254047aefa57 /submodule_test.go
parentd823a80ce65c582d007a378901e534a0880d779d (diff)
downloadgo-git-756fe0c2e49d7a1d5de849026d3843b880b46a4d.tar.gz
test: more Windows path handling
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)
}