Skip to content

Commit 0334f06

Browse files
author
Grzegorz Piwowarek
committed
Refactor
1 parent ee3af0e commit 0334f06

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎assertj/src/test/java/com/baeldung/assertj/introduction/AssertJJava8Test.java‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,8 @@ public void givenLocalDate_shouldAssert() throws Exception {
4242
final LocalDate todayDate = LocalDate.now();
4343

4444
assertThat(givenLocalDate)
45-
.isBefore(LocalDate.of(2020, 7, 8));
45+
.isBefore(LocalDate.of(2020, 7, 8))
46+
.isAfterOrEqualTo(LocalDate.of(1989, 7, 8));
4647

4748
assertThat(todayDate)
4849
.isAfter(LocalDate.of(1989, 7, 8))

0 commit comments

Comments
 (0)