File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
spring-ai-model/src/test/java/org/springframework/ai/tool/support Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ public String processPerson(PersonData person) {
6666 }
6767
6868 record PersonData (@ JsonProperty ("full_name" ) @ JsonPropertyDescription ("The person's full name" ) String name ,
69- @ JsonPropertyDescription ("The person's age" ) int age ) {
69+ @ JsonPropertyDescription ("The person's age" ) int age ) {
7070 }
7171
7272 @ Test
@@ -113,7 +113,7 @@ void builderShouldCreateValidBuilderForMethodWithComplexParameter() throws Excep
113113 @ Test
114114 void builderShouldThrowExceptionWhenMethodIsNull () {
115115 assertThatThrownBy (() -> ToolDefinitions .builder (null )).isInstanceOf (IllegalArgumentException .class )
116- .hasMessageContaining ("method cannot be null" );
116+ .hasMessageContaining ("method cannot be null" );
117117 }
118118
119119 @ Test
@@ -144,7 +144,7 @@ void fromShouldCreateConsistentToolDefinitions() throws Exception {
144144 @ Test
145145 void fromShouldThrowExceptionWhenMethodIsNull () {
146146 assertThatThrownBy (() -> ToolDefinitions .from (null )).isInstanceOf (IllegalArgumentException .class )
147- .hasMessageContaining ("method cannot be null" );
147+ .hasMessageContaining ("method cannot be null" );
148148 }
149149
150150 @ Test
You can’t perform that action at this time.
0 commit comments