Changeset 6334 in josm for trunk/test/unit/org/openstreetmap/josm/data/osm
- Timestamp:
- 2013-10-27T04:06:10+01:00 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/data/osm/FilterTest.java
r5556 r6334 169 169 foundAtLeastOne = true; 170 170 if (!osm.get(key).equals(filterCode(osm))) { 171 failedPrimitives.append(String.format("Object %s. Expected [%s] but was [%s] \n", osm.toString(), osm.get(key), filterCode(osm)));171 failedPrimitives.append(String.format("Object %s. Expected [%s] but was [%s]%n", osm.toString(), osm.get(key), filterCode(osm))); 172 172 } 173 173 } … … 175 175 assertTrue(foundAtLeastOne); 176 176 if (failedPrimitives.length() != 0) 177 throw new AssertionError(String.format("Run #%d \n%s", i, failedPrimitives.toString()));177 throw new AssertionError(String.format("Run #%d%n%s", i, failedPrimitives.toString())); 178 178 } 179 179 }
Note:
See TracChangeset
for help on using the changeset viewer.
