Skip to content

Commit

Permalink
Adjust unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
TobiasHafner committed Aug 15, 2024
1 parent 2b0eb51 commit 753878f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/test/java/org/polypheny/jdbc/types/TypedValueTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -441,7 +441,8 @@ public void fromDateWithNullDateAndCalendarProvided() {
Calendar calendar = Calendar.getInstance();
calendar.set( 2022, Calendar.JANUARY, 1 );

assertThrows( NullPointerException.class, () -> TypedValue.fromDate( null, calendar ) );
TypedValue value = TypedValue.fromDate( null, calendar );
assertTrue( value.isNull() );
}


Expand Down

0 comments on commit 753878f

Please sign in to comment.