This commit is contained in:
Looly 2021-10-31 19:46:24 +08:00
parent da7a9796c4
commit 8395058030
2 changed files with 2 additions and 1 deletions

View File

@ -13,7 +13,7 @@ public class YamlUtilTest {
@Test
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"));

View File

@ -11,3 +11,4 @@ homeAddress:
city: "City Y"
state: "State Y"
zip: 345657
123: 345