diff --git a/filenotify/poller_test.go b/filenotify/poller_test.go index 49e6e64..0715c25 100644 --- a/filenotify/poller_test.go +++ b/filenotify/poller_test.go @@ -4,6 +4,7 @@ import ( "fmt" "io/ioutil" "os" + "runtime" "testing" "time" @@ -36,6 +37,9 @@ func TestPollerAddRemove(t *testing.T) { } func TestPollerEvent(t *testing.T) { + if runtime.GOOS == "windows" { + t.Skip("No chmod on Windows") + } w := NewPollingWatcher() f, err := ioutil.TempFile("", "test-poller")