Fix test
This commit is contained in:
parent
d1b750eaca
commit
308b28a478
|
@ -81,7 +81,7 @@ public class DurationUtilsTest {
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void testOfConsumer() {
|
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
|
@Test
|
||||||
|
|
Loading…
Reference in New Issue