Skip to content

Commit ea0f24c

Browse files
committed
Sort members
1 parent 8647cd4 commit ea0f24c

1 file changed

Lines changed: 10 additions & 10 deletions

File tree

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

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -491,16 +491,6 @@ public void testEscapedKey() throws Exception {
491491
assertEquals("bar", conf.getString("foo"));
492492
}
493493

494-
@Test
495-
public void testLargeKey() throws Exception {
496-
conf.clear();
497-
final String key = String.join("", Collections.nCopies(10000, "x"));
498-
final FileHandler handler = new FileHandler(conf);
499-
handler.load(new StringReader(key));
500-
501-
assertEquals("", conf.getString(key));
502-
}
503-
504494
/**
505495
* Check that key/value separators can be part of a key.
506496
*/
@@ -911,6 +901,16 @@ public void testKeyValueSeparators() {
911901
assertEquals("foo", conf.getProperty("test.separator.whitespace"));
912902
}
913903

904+
@Test
905+
public void testLargeKey() throws Exception {
906+
conf.clear();
907+
final String key = String.join("", Collections.nCopies(10000, "x"));
908+
final FileHandler handler = new FileHandler(conf);
909+
handler.load(new StringReader(key));
910+
911+
assertEquals("", conf.getString(key));
912+
}
913+
914914
/**
915915
* Tests whether the correct line separator is used.
916916
*/

0 commit comments

Comments
 (0)