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:
Sebastian Bazley 2008-03-17 21:52:21 +00:00
parent f7eadf09d7
commit a202e9ca19
1 changed files with 1 additions and 1 deletions

View File

@ -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);