Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
onacit committed Jun 2, 2024
1 parent 1806cbb commit 09c82a7
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 5 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -249,6 +249,7 @@ $ sh ./.docker.stop.sh

* [기간 영어로 (duration, period, time frame, span, length of time, interval, term, tenure 차이)](https://blog-ko.engram.us/duration/)
* [기타 영어로 (Etcetera (etc.), Miscellaneous, Additional, Non-specific, Assorted 차이)](https://blog-ko.engram.us/etcetera/)
* [/assertj/assertj/issues/3491 Ambiguous assertThat for Temporal instance implementing Comparable #3491](https://github.com/assertj/assertj/issues/3491)

---

Expand Down
10 changes: 7 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,8 @@
<sonar.host.url>https://sonarcloud.io</sonar.host.url>
<groupId.querydsl>com.querydsl</groupId.querydsl>
<version.querydsl>5.1.0</version.querydsl>
<version.lombok>1.18.30</version.lombok>
<!-- <version.lombok>1.18.30</version.lombok>-->
<version.lombok>1.18.32</version.lombok>
<version.maven-failsafe>${version.maven-surefire}</version.maven-failsafe>
<version.maven-surefire>3.2.5</version.maven-surefire>
<version.mysql-connector-j>8.3.0</version.mysql-connector-j>
Expand All @@ -65,7 +66,9 @@
<version.org.jboss.weld>4.0.2.Final</version.org.jboss.weld>
<version.org.jooq>3.19.5</version.org.jooq>
<version.org.junit.jupiter>5.10.2</version.org.junit.jupiter>
<version.org.mockito>5.11.0</version.org.mockito>
<!-- <version.org.junit.jupiter>5.12.0</version.org.junit.jupiter>-->
<!-- <version.org.mockito>5.11.0</version.org.mockito>-->
<version.org.mockito>5.12.0</version.org.mockito>
<eclipselink.woven>false</eclipselink.woven>
</properties>

Expand Down Expand Up @@ -128,7 +131,8 @@
<dependency>
<groupId>org.assertj</groupId>
<artifactId>assertj-core</artifactId>
<version>3.25.3</version>
<!-- ;<version>3.25.3</version>-->
<version>3.26.0</version>
<scope>test</scope>
</dependency>
<dependency>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
import java.time.Month;
import java.time.Year;
import java.time.YearMonth;
import java.time.temporal.Temporal;

import static org.assertj.core.api.Assertions.assertThat;
import static org.mockito.ArgumentMatchers.notNull;
Expand All @@ -33,7 +34,8 @@ void _Null_Null() {
// ---------------------------------------------------------------------------------------------------- when
final var birthYear = instance.getBirthYear();
// ---------------------------------------------------------------------------------------------------- then
assertThat(birthYear).isNull();
// https://github.com/assertj/assertj/issues/3491
assertThat((Temporal) birthYear).isNull();
}

@DisplayName("getBirthDate()!null")
Expand All @@ -46,7 +48,8 @@ void __() {
// ---------------------------------------------------------------------------------------------------- when
final var birthYear = instance.getBirthYear();
// ---------------------------------------------------------------------------------------------------- then
assertThat(birthYear).isEqualTo(Year.from(birthDate));
// https://github.com/assertj/assertj/issues/3491
assertThat((Temporal) birthYear).isEqualTo(Year.from(birthDate));
}
}

Expand Down

0 comments on commit 09c82a7

Please sign in to comment.