Skip to content

Commit 5f7b4aa

Browse files
committed
Don't test ignore hidden on windows right now.
1 parent 61a1ff8 commit 5f7b4aa

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

watcher_test.go

+10
Original file line numberDiff line numberDiff line change
@@ -268,6 +268,11 @@ func TestRemove(t *testing.T) {
268268
// TODO: Test remove recursive function.
269269

270270
func TestIgnoreHiddenFilesRecursive(t *testing.T) {
271+
// TODO: Write tests for ignore hidden on windows.
272+
if runtime.GOOS == "windows" {
273+
return
274+
}
275+
271276
testDir, teardown := setup(t)
272277
defer teardown()
273278

@@ -327,6 +332,11 @@ func TestIgnoreHiddenFilesRecursive(t *testing.T) {
327332
}
328333

329334
func TestIgnoreHiddenFiles(t *testing.T) {
335+
// TODO: Write tests for ignore hidden on windows.
336+
if runtime.GOOS == "windows" {
337+
return
338+
}
339+
330340
testDir, teardown := setup(t)
331341
defer teardown()
332342

0 commit comments

Comments
 (0)