Skip to content

Commit dde3611

Browse files
committed
skip on windows
1 parent 228c985 commit dde3611

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

repo_tree_test.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ package git
77
import (
88
"os"
99
"path/filepath"
10+
"runtime"
1011
"testing"
1112

1213
"github.com/stretchr/testify/assert"
@@ -54,6 +55,10 @@ func TestUnescapeChars(t *testing.T) {
5455
}
5556

5657
func TestRepository_LsTree(t *testing.T) {
58+
if runtime.GOOS == "windows" {
59+
t.Skip(`Windows does not allow '"' in filenames`)
60+
}
61+
5762
path := tempPath()
5863
defer os.RemoveAll(path)
5964

0 commit comments

Comments
 (0)