Changeset 7065 in josm for trunk


Ignore:
Timestamp:
2014-05-05T15:54:21+02:00 (10 years ago)
Author:
Don-vip
Message:

update test to match r7064

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/unit/org/openstreetmap/josm/data/validation/tests/MapCSSTagCheckerTest.java

    r7027 r7065  
    6464        n2.put("natural", "wood");
    6565        assertFalse(check.evaluate(n2));
    66         assertThat(MapCSSTagChecker.TagCheck.insertArguments(check.rule.selectors.get(0), "The key is {0.key} and the value is {0.value}"),
     66        assertThat(MapCSSTagChecker.TagCheck.insertArguments(check.rule.selector, "The key is {0.key} and the value is {0.value}"),
    6767                is("The key is natural and the value is marsh"));
    6868    }
     
    8888                if (isError != i.getValue()) {
    8989                    final String error = MessageFormat.format("Expecting test ''{0}'' (i.e., {1}) to {2} {3} (i.e., {4})",
    90                             check.getMessage(p), check.rule.selectors, i.getValue() ? "match" : "not match", i.getKey(), p.getKeys());
     90                            check.getMessage(p), check.rule.selector, i.getValue() ? "match" : "not match", i.getKey(), p.getKeys());
    9191                    System.err.println(error);
    9292                    assertionErrors.add(error);
Note: See TracChangeset for help on using the changeset viewer.