Skip to content
This repository was archived by the owner on Sep 11, 2020. It is now read-only.

Commit 53ec86e

Browse files
committed
fixed windows failed test: "152 FAIL: worktree_test.go:278: WorktreeSuite.TestCheckoutSymlink"
1 parent 5f2bb03 commit 53ec86e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

worktree_test.go

+4
Original file line numberDiff line numberDiff line change
@@ -277,6 +277,10 @@ func (s *WorktreeSuite) TestCheckout(c *C) {
277277
}
278278

279279
func (s *WorktreeSuite) TestCheckoutSymlink(c *C) {
280+
if runtime.GOOS == "windows" {
281+
c.Skip("git doesn't support symlinks by default in windows")
282+
}
283+
280284
dir, err := ioutil.TempDir("", "checkout")
281285
defer os.RemoveAll(dir)
282286

0 commit comments

Comments
 (0)