Split out negative duration test.
@Test
public void testWaitFor() {
FileUtils.waitFor(FileUtils.current(), -1);
- FileUtils.waitFor(FileUtils.current(), 2);
+ }
+
+ @Test
+ public void testWaitForNegativeDuration() {
+ FileUtils.waitFor(FileUtils.current(), -1);
}
@Test
