From 5f7b4aa7b949d1fdb0d418ee7b02f947dc6da239 Mon Sep 17 00:00:00 2001 From: Benjamin Radovsky Date: Thu, 13 Dec 2018 14:31:38 +1100 Subject: [PATCH] Don't test ignore hidden on windows right now. --- watcher_test.go | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/watcher_test.go b/watcher_test.go index 3fb831c..77e767a 100644 --- a/watcher_test.go +++ b/watcher_test.go @@ -268,6 +268,11 @@ func TestRemove(t *testing.T) { // TODO: Test remove recursive function. func TestIgnoreHiddenFilesRecursive(t *testing.T) { + // TODO: Write tests for ignore hidden on windows. + if runtime.GOOS == "windows" { + return + } + testDir, teardown := setup(t) defer teardown() @@ -327,6 +332,11 @@ func TestIgnoreHiddenFilesRecursive(t *testing.T) { } func TestIgnoreHiddenFiles(t *testing.T) { + // TODO: Write tests for ignore hidden on windows. + if runtime.GOOS == "windows" { + return + } + testDir, teardown := setup(t) defer teardown()