Changeset 16032 in josm for trunk/test/unit


Ignore:
Timestamp:
2020-03-04T20:34:43+01:00 (5 years ago)
Author:
Don-vip
Message:

see #18772 - fix unit test

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/unit/org/openstreetmap/josm/tools/TerritoriesTest.java

    r15957 r16032  
    8787        assertTrue(cache.isEmpty());
    8888        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]"));
     89        assertTrue(error, error.startsWith("W: Failed to parse external taginfo data at "));
     90        assertTrue(error, error.contains(": Invalid token=EOF at (line no=3,"));
    9291    }
    9392}
Note: See TracChangeset for help on using the changeset viewer.