Skip to content

Commit 92f7f85

Browse files
committed
Sort members
1 parent adeec3e commit 92f7f85

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/test/java/org/apache/commons/configuration2/TestYAMLConfiguration.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,12 @@ public void testCopyConstructor() {
6868
assertEquals("bar", yamlConfiguration.getString("foo"));
6969
}
7070

71+
@Test
72+
public void testDoubleStringValues() {
73+
final Object property = yamlConfiguration.getProperty("key5.example");
74+
assertEquals(Arrays.asList("", "", "value"), property);
75+
}
76+
7177
@Test
7278
public void testGetPropertyDictionary() {
7379
assertEquals("Martin D'vloper", yamlConfiguration.getProperty("martin.name"));
@@ -109,12 +115,6 @@ public void testGetPropertyVeryNestedProperties() {
109115
assertEquals(Arrays.asList("nested1", "nested2", "nested3"), property);
110116
}
111117

112-
@Test
113-
public void testDoubleStringValues() {
114-
final Object property = yamlConfiguration.getProperty("key5.example");
115-
assertEquals(Arrays.asList("", "", "value"), property);
116-
}
117-
118118
@Test
119119
public void testObjectCreationFromReader() {
120120
final File createdFile = new File(tempFolder, "data.txt");

0 commit comments

Comments
 (0)