Split out negative duration test.
MODIFY
src/test/java/org/apache/commons/io/FileUtilsWaitForTestCase.java
src/test/java/org/apache/commons/io/FileUtilsWaitForTestCase.java
@Test
public void testWaitFor() {
FileUtils.waitFor(FileUtils.current(), -1);
- FileUtils.waitFor(FileUtils.current(), 2);
+ }
+
+ @Test
+ public void testWaitForNegativeDuration() {
+ FileUtils.waitFor(FileUtils.current(), -1);
}
@Test

Split out negative duration test.