Skip to content

Commit dc993ea

Browse files
committed
style: fix formatting
Signed-off-by: Oleksandr Klymenko <[email protected]> Co-authored-by: Oleksandr Klymenko <[email protected]>
1 parent c48ab5c commit dc993ea

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

spring-ai-model/src/test/java/org/springframework/ai/model/tool/ToolExecutionEligibilityPredicateTests.java

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -76,19 +76,6 @@ void whenTestMethodCalledDirectly() {
7676
assertThat(result).isTrue();
7777
}
7878

79-
/**
80-
* Test implementation of {@link ToolExecutionEligibilityPredicate} that always
81-
* returns true.
82-
*/
83-
private static class TestToolExecutionEligibilityPredicate implements ToolExecutionEligibilityPredicate {
84-
85-
@Override
86-
public boolean test(ChatOptions promptOptions, ChatResponse chatResponse) {
87-
return true;
88-
}
89-
90-
}
91-
9279
@Test
9380
void whenChatResponseHasEmptyGenerations() {
9481
ToolExecutionEligibilityPredicate predicate = new TestToolExecutionEligibilityPredicate();
@@ -115,6 +102,19 @@ void whenChatOptionsHasModel() {
115102
assertThat(result).isFalse();
116103
}
117104

105+
/**
106+
* Test implementation of {@link ToolExecutionEligibilityPredicate} that always
107+
* returns true.
108+
*/
109+
private static class TestToolExecutionEligibilityPredicate implements ToolExecutionEligibilityPredicate {
110+
111+
@Override
112+
public boolean test(ChatOptions promptOptions, ChatResponse chatResponse) {
113+
return true;
114+
}
115+
116+
}
117+
118118
private static class ModelCheckingPredicate implements ToolExecutionEligibilityPredicate {
119119

120120
@Override

0 commit comments

Comments
 (0)