Skip to content

Commit cb33e2f

Browse files
committed
tmp
1 parent 33a5736 commit cb33e2f

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

framework/fel/java/services/tool-service/src/test/java/modelengine/fel/tool/support/HttpClientTestController.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,8 @@ public Integer returnInteger(@RequestQuery("values") @Property(description = "
8787
* 表示返回值为 {@code null} 的 HTTP 服务端接口。
8888
*/
8989
@PostMapping(path = "/test/return/void")
90-
public void returnVoid() {}
90+
public void returnVoid() {
91+
}
9192

9293
/**
9394
* 表示对 basic 鉴权的校验。

framework/fel/java/services/tool-service/src/test/java/modelengine/fel/tool/support/HttpToolTest.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,9 @@ void shouldReturnNull() {
176176
Tool.Info info = readToolInfo("void.json");
177177
Tool tool = createTool(info);
178178

179-
String result = cast(tool.execute());
179+
Object result = tool.execute();
180+
System.out.println("result: " + result);
181+
System.out.println("result.getClass(): " + (result != null ? result.getClass() : null));
180182
assertThat(result).isEqualTo(null);
181183
}
182184

0 commit comments

Comments
 (0)