Skip to content

Commit 41c0301

Browse files
committed
test: 更新工具类 SimpleRes 测试类
1 parent b192315 commit 41c0301

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/test/java/info/cadecode/simple/common/response/SimpleResTest.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@ public void ok() {
1919
}
2020

2121
@Test
22-
public void error() {
23-
String errorJson = SimpleRes.error("hello world!")
22+
public void fail() {
23+
String failJson = SimpleRes.fail("hello world!")
2424
.json();
25-
log.info("errorJson: {}", errorJson);
25+
log.info("failJson: {}", failJson);
2626
}
2727

2828
@Test

0 commit comments

Comments
 (0)