Ignore:
Timestamp:
2015-01-07T01:01:35+01:00 (9 years ago)
Author:
Don-vip
Message:

see #10938 - take noname=yes into account in validator tests

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/data/validator/combinations.mapcss

    r7929 r7932  
    156156}
    157157
    158 node[amenity =~ /^(restaurant|cafe|fast_food)$/][!name] {
     158node[amenity =~ /^(restaurant|cafe|fast_food)$/][!name][noname!=yes] {
    159159  throwOther: tr("restaurant without name");
    160160  assertMatch: "node amenity=restaurant";
     161  assertNoMatch: "node amenity=restaurant noname=yes";
    161162  assertNoMatch: "node amenity=restaurant name=Foobar";
    162163}
Note: See TracChangeset for help on using the changeset viewer.