Fix tests on Windows (fixes #1531)

This commit is contained in:
Audrius Butkevicius
2015-04-16 21:18:17 +01:00
parent c6300a5da8
commit 7d954dd5d1
4 changed files with 14 additions and 3 deletions

View File

@@ -69,7 +69,9 @@ var testcases = []testcase{
func TestMatch(t *testing.T) {
switch runtime.GOOS {
case "windows", "darwin":
case "windows":
testcases = append(testcases, testcase{"foo.txt", "foo.TXT", 0, true})
case "darwin":
testcases = append(testcases, testcase{"foo.txt", "foo.TXT", 0, true})
fallthrough
default: