Need to use an OrderedMap in order to guarantee ordering for this test ;-)
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@638079 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
f7eadf09d7
commit
a202e9ca19
|
@ -312,7 +312,7 @@ public class TestListOrderedMap extends AbstractTestOrderedMap {
|
||||||
assertEquals("testInsert2v", lom.getValue(2));
|
assertEquals("testInsert2v", lom.getValue(2));
|
||||||
|
|
||||||
// Create New Test Map and Add using putAll(int, Object, Object)
|
// Create New Test Map and Add using putAll(int, Object, Object)
|
||||||
Map values = new HashMap();
|
Map values = new ListOrderedMap();
|
||||||
values.put("NewInsert0", "NewInsert0v");
|
values.put("NewInsert0", "NewInsert0v");
|
||||||
values.put("NewInsert1", "NewInsert1v");
|
values.put("NewInsert1", "NewInsert1v");
|
||||||
lom.putAll(1, values);
|
lom.putAll(1, values);
|
||||||
|
|
Loading…
Reference in New Issue