Changeset 7878 in josm for trunk/data/validator


Ignore:
Timestamp:
2014-12-24T02:39:30+01:00 (9 years ago)
Author:
Don-vip
Message:

fix #10837 - fix asserts

File:
1 edited

Legend:

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

    r7876 r7878  
    146146way[highway]["lanes:forward"]["lanes:forward" !~ /^[1-9]([0-9]*)$/] {
    147147  throwError: tr("{0} must be a positive integer number", "{1.key}");
    148   assertMatch: "way lanes=-1";
    149   assertMatch: "way lanes=5.5";
    150   assertMatch: "way lanes=1;2";
    151   assertMatch: "way lanes:forward=-1";
    152   assertMatch: "way lanes:backward=-1";
    153   assertNoMatch: "way lanes=1";
     148  assertMatch: "way highway lanes=-1";
     149  assertMatch: "way highway lanes=5.5";
     150  assertMatch: "way highway lanes=1;2";
     151  assertMatch: "way highway lanes:forward=-1";
     152  assertMatch: "way highway lanes:backward=-1";
     153  assertNoMatch: "way highway lanes=1";
    154154}
Note: See TracChangeset for help on using the changeset viewer.