Fix test
This commit is contained in:
parent
d1b750eaca
commit
308b28a478
|
@ -81,7 +81,7 @@ public class DurationUtilsTest {
|
|||
|
||||
@Test
|
||||
public void testOfConsumer() {
|
||||
assertTrue(DurationUtils.of(start -> assertTrue(start.compareTo(Instant.now()) >= 0)).compareTo(Duration.ZERO) >= 0);
|
||||
assertTrue(DurationUtils.of(start -> assertTrue(start.compareTo(Instant.now()) <= 0)).compareTo(Duration.ZERO) <= 0);
|
||||
}
|
||||
|
||||
@Test
|
||||
|
|
Loading…
Reference in New Issue