Changeset 7880 in josm for trunk/data


Ignore:
Timestamp:
2014-12-24T12:54:50+01:00 (10 years ago)
Author:
Don-vip
Message:

fix #10837 - fix asserts

File:
1 edited

Legend:

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

    r7878 r7880  
    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 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";
     148  assertMatch: "way highway=residential lanes=-1";
     149  assertMatch: "way highway=residential lanes=5.5";
     150  assertMatch: "way highway=residential lanes=1;2";
     151  assertMatch: "way highway=residential lanes:forward=-1";
     152  assertMatch: "way highway=residential lanes:backward=-1";
     153  assertNoMatch: "way highway=residential lanes=1";
    154154}
Note: See TracChangeset for help on using the changeset viewer.