mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-07-21 15:09:48 +08:00
fix code
This commit is contained in:
@@ -340,7 +340,7 @@ public class JSONArrayTest {
|
||||
array.add(JSONUtil.ofObj().set("name", "ccc"));
|
||||
|
||||
final StringBuilder result = new StringBuilder();
|
||||
array.jsonIter(JSONObject.class).forEach(result::append);
|
||||
array.forEach(result::append);
|
||||
assertEquals("{\"name\":\"aaa\"}{\"name\":\"bbb\"}{\"name\":\"ccc\"}", result.toString());
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user