mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-05-09 23:51:34 +08:00
fix test
This commit is contained in:
parent
da7a9796c4
commit
8395058030
@ -13,7 +13,7 @@ public class YamlUtilTest {
|
|||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void loadByPathTest() {
|
public void loadByPathTest() {
|
||||||
final Dict result = YamlUtil.loadByPath("test.yaml", Dict.class);
|
final Dict result = YamlUtil.loadByPath("test.yaml");
|
||||||
|
|
||||||
Assert.assertEquals("John", result.getStr("firstName"));
|
Assert.assertEquals("John", result.getStr("firstName"));
|
||||||
|
|
||||||
|
@ -11,3 +11,4 @@ homeAddress:
|
|||||||
city: "City Y"
|
city: "City Y"
|
||||||
state: "State Y"
|
state: "State Y"
|
||||||
zip: 345657
|
zip: 345657
|
||||||
|
123: 345
|
||||||
|
Loading…
x
Reference in New Issue
Block a user