Changeset 2917 in josm for trunk/test/unit/org/openstreetmap


Ignore:
Timestamp:
2010-02-01T05:52:48+01:00 (15 years ago)
Author:
mjulius
Message:

fix test

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/unit/org/openstreetmap/josm/data/osm/OsmPrimitiveKeyHandling.java

    r2482 r2917  
    2424        assertTrue(!n.hasKey("nosuchkey"));
    2525        assertTrue(n.keySet().isEmpty());
    26         assertTrue(n.entrySet().isEmpty());
    2726
    2827        n.remove("nosuchkey"); // should work
     
    4241        assertTrue(n.keySet().size() == 1);
    4342        assertTrue(n.keySet().contains("akey"));
    44         assertTrue(n.entrySet().size() == 1);
    45         assertTrue(n.entrySet().iterator().next().getKey().equals("akey"));
    46         assertTrue(n.entrySet().iterator().next().getValue().equals("avalue"));
    4743    }
    4844
Note: See TracChangeset for help on using the changeset viewer.