mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-04-19 03:01:48 +08:00
fix test
This commit is contained in:
parent
4351dbc470
commit
e74b99a558
@ -624,7 +624,7 @@ public class BeanUtilTest {
|
||||
public void setPropertiesTest() {
|
||||
final Map<String, Object> resultMap = MapUtil.newHashMap();
|
||||
BeanUtil.setProperty(resultMap, "codeList[0].name", "张三");
|
||||
Assert.assertEquals("{codeList={0={name=张三}}}", resultMap.toString());
|
||||
Assert.assertEquals("{codeList=[{name=张三}]}", resultMap.toString());
|
||||
}
|
||||
|
||||
@Test
|
||||
|
Loading…
x
Reference in New Issue
Block a user