Changes between Version 33 and Version 34 of Rules/PublicTransportGtfs


Ignore:
Timestamp:
2021-02-12T15:53:59+01:00 (5 years ago)
Author:
skyper
Comment:

fixed assertMatch

Legend:

Unmodified
Added
Removed
Modified
  • Rules/PublicTransportGtfs

    v33 v34  
    152152  throwOther: tr("Public transport {0} relation without `{1}*`.", "{1.value}", "{2.tag}");
    153153  group: tr("Public Transport GTFS: missing tag");
    154   assertMatch:   "relation type=route route=train";
    155   assertMatch:   "relation type=route_master route_master=bus";
     154  assertMatch:   "relation type=route route=train operator=A";
     155  assertMatch:   "relation type=route_master route_master=bus operator=A";
     156  assertNoMatch: "relation type=route route=train";
     157  assertNoMatch: "relation type=route_master route_master=bus";
     158
    156159}
    157160