Skip to content

Commit

Permalink
test: Fix compiler warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasVitale committed Jan 11, 2025
1 parent a8c2c84 commit aca825a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class BuilderValidationTests {

@Test
void shouldRejectNullToolObjects() {
assertThatThrownBy(() -> MethodToolCallbackProvider.builder().toolObjects(null))
assertThatThrownBy(() -> MethodToolCallbackProvider.builder().toolObjects((Object) null))
.isInstanceOf(IllegalArgumentException.class)
.hasMessage("toolObjects cannot be null");
}
Expand Down

0 comments on commit aca825a

Please sign in to comment.