Changeset 18690 in josm for trunk/test/unit/org/openstreetmap/josm/data/osm/OsmUtilsTest.java
- Timestamp:
- 2023-03-13T21:59:27+01:00 (13 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/data/osm/OsmUtilsTest.java
r17586 r18690 4 4 import static org.junit.jupiter.api.Assertions.assertEquals; 5 5 import static org.junit.jupiter.api.Assertions.assertFalse; 6 import static org.junit.jupiter.api.Assertions.assertInstanceOf; 6 7 import static org.junit.jupiter.api.Assertions.assertNull; 7 8 import static org.junit.jupiter.api.Assertions.assertTrue; … … 35 36 void testCreatePrimitive() { 36 37 final OsmPrimitive p = OsmUtils.createPrimitive("way name=Foo railway=rail"); 37 assert True(p instanceof Way);38 assertInstanceOf(Way.class, p); 38 39 assertEquals(2, p.getKeys().size()); 39 40 assertEquals("Foo", p.get("name"));
Note:
See TracChangeset
for help on using the changeset viewer.