Changeset 15957 in josm for trunk/test/unit
- Timestamp:
- 2020-02-29T00:27:00+01:00 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/tools/TerritoriesTest.java
r15956 r15957 86 86 Territories.initializeExternalData(cache, "foo", TestUtils.getTestDataRoot() + "taginfo/geofabrik-index-v1-nogeom-broken.json"); 87 87 assertTrue(cache.isEmpty()); 88 assertEquals("W: Failed to parse external taginfo data at test/data/taginfo/geofabrik-index-v1-nogeom-broken.json: " +89 "Invalid token=EOF at (line no=3, column no=49, offset=97). Expected tokens are: " +90 "[CURLYOPEN, SQUAREOPEN, STRING, NUMBER, TRUE, FALSE, NULL, SQUARECLOSE]",91 Logging.getLastErrorAndWarnings().get(0));88 String error = Logging.getLastErrorAndWarnings().get(0); 89 assertTrue(error.startsWith("W: Failed to parse external taginfo data at ")); 90 assertTrue(error.endsWith(": Invalid token=EOF at (line no=3, column no=49, offset=97). Expected tokens are: " + 91 "[CURLYOPEN, SQUAREOPEN, STRING, NUMBER, TRUE, FALSE, NULL, SQUARECLOSE]")); 92 92 } 93 93 }
Note:
See TracChangeset
for help on using the changeset viewer.