This is an automated email from the ASF dual-hosted git repository. ggregory pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/commons-configuration.git
The following commit(s) were added to refs/heads/master by this push: new 92f7f85a Sort members new 13610287 Merge branch 'master' of https://github.com/apache/commons-configuration.git 92f7f85a is described below commit 92f7f85ae83179d620f3585ef49111225ec581c0 Author: Gary D. Gregory <garydgreg...@gmail.com> AuthorDate: Sat May 10 13:20:42 2025 -0400 Sort members --- .../apache/commons/configuration2/TestYAMLConfiguration.java | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/test/java/org/apache/commons/configuration2/TestYAMLConfiguration.java b/src/test/java/org/apache/commons/configuration2/TestYAMLConfiguration.java index c39e3b18..600fba15 100644 --- a/src/test/java/org/apache/commons/configuration2/TestYAMLConfiguration.java +++ b/src/test/java/org/apache/commons/configuration2/TestYAMLConfiguration.java @@ -68,6 +68,12 @@ public class TestYAMLConfiguration { assertEquals("bar", yamlConfiguration.getString("foo")); } + @Test + public void testDoubleStringValues() { + final Object property = yamlConfiguration.getProperty("key5.example"); + assertEquals(Arrays.asList("", "", "value"), property); + } + @Test public void testGetPropertyDictionary() { assertEquals("Martin D'vloper", yamlConfiguration.getProperty("martin.name")); @@ -109,12 +115,6 @@ public class TestYAMLConfiguration { assertEquals(Arrays.asList("nested1", "nested2", "nested3"), property); } - @Test - public void testDoubleStringValues() { - final Object property = yamlConfiguration.getProperty("key5.example"); - assertEquals(Arrays.asList("", "", "value"), property); - } - @Test public void testObjectCreationFromReader() { final File createdFile = new File(tempFolder, "data.txt");