This commit is contained in:
Gary Gregory 2022-05-29 17:10:12 -04:00
parent d1b750eaca
commit 308b28a478
1 changed files with 1 additions and 1 deletions

View File

@ -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