diff --git a/tests/dirwatcher.d b/tests/dirwatcher.d index 2cf17a5..d8778df 100644 --- a/tests/dirwatcher.d +++ b/tests/dirwatcher.d @@ -73,7 +73,10 @@ void runTest() write(bar, null); assert(!watcher.readChanges(changes, 100.msecs)); remove(bar); + assert(!watcher.readChanges(changes, 1500.msecs)); + watcher = NativePath(dir).watchDirectory(Yes.recursive); + assert(!watcher.readChanges(changes, 1500.msecs)); write(foo, null); sleep(sleepTime); write(foo, [0, 1]);