Changeset 15765 in josm


Ignore:
Timestamp:
2020-01-26T00:21:10+01:00 (2 months ago)
Author:
Klumbumbus
Message:

see #17555, see #18374 - enable asserts

File:
1 edited

Legend:

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

    r15758 r15765  
    670670  group: tr("suspicious tag combination");
    671671  fixChangeKey: "collection_times => opening_hours";
    672   /* spaces in asserts are not yet supported
    673   assertMatch: "node amenity=recycling collection_times=Mo-Fr 06:00-20:00";
    674   assertNoMatch: "node amenity=recycling collection_times=Mo-Fr 15:00";
    675   assertNoMatch: "node amenity=recycling collection_times=Mo 08:00-11:00";
    676   assertNoMatch: "node amenity=recycling collection_times=Sa[2,4] 8:00-11:00";
    677   */
     672  assertMatch: "node amenity=recycling collection_times=\"Mo-Fr 06:00-20:00\"";
     673  assertNoMatch: "node amenity=recycling collection_times=\"Mo-Fr 15:00\"";
     674  assertNoMatch: "node amenity=recycling collection_times=\"Mo 08:00-11:00\"";
     675  assertNoMatch: "node amenity=recycling collection_times=\"Sa[2,4] 8:00-11:00\"";
    678676}
    679677*[amenity=recycling][collection_times="24/7"][opening_hours],
Note: See TracChangeset for help on using the changeset viewer.