Changeset 7396 in josm for trunk/test


Ignore:
Timestamp:
2014-08-15T02:37:51+02:00 (5 years ago)
Author:
Don-vip
Message:

see #10351 - fix unit test

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/unit/org/openstreetmap/josm/gui/tagging/PresetClassificationsTest.java

    r7356 r7396  
    6262    public void testRelationsForTram() {
    6363        final OsmPrimitive tram = OsmUtils.createPrimitive("way railway=tram");
    64         assertTrue("railway=tram should match 'Railway route' for relation creation", getMatchingPresetNames("route", tram).contains("Railway route"));
    65         assertTrue("railway=tram should match 'Public transport route' for relation creation", getMatchingPresetNames("route", tram).contains("Public transport route"));
     64        assertTrue("railway=tram should match 'Railway Route' for relation creation", getMatchingPresetNames("route", tram).contains("Railway Route"));
     65        assertTrue("railway=tram should match 'Public Transport Route' for relation creation", getMatchingPresetNames("route", tram).contains("Public Transport Route"));
    6666        assertTrue("railway=tram should not match 'Bus route'", !getMatchingPresetNames("route", tram).contains("Bus route"));
    6767    }
Note: See TracChangeset for help on using the changeset viewer.