Skip to content

Commit

Permalink
Fix tests using Java 19 API
Browse files Browse the repository at this point in the history
  • Loading branch information
JPercival committed Jan 18, 2024
1 parent 3658cdc commit 032284d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,7 @@ void testDateTimeEquals() {
assertEquals(dateTime, dateTime2);

// varying offset
dateTime2 = new DateTime(BigDecimal.TWO, 2020);
dateTime2 = new DateTime(BigDecimal.valueOf(2l), 2020);
assertNotEquals(dateTime, dateTime2);

// varying year
Expand Down

0 comments on commit 032284d

Please sign in to comment.