Hi,
They do what you think.
See http://josm.openstreetmap.de/ticket/10206 : they were designed for unit
tests but can be enabled at runtime with an advanced property.
I tend to skip adding these rules for basic cases but it's still
interesting for complex ones.
Cheers,
Vincent

2014-10-23 1:03 GMT+02:00 simson.gert...@gmail.com <simson.gert...@gmail.com
>:

> Hi,
> can someone please explain me "assertMatch" and "assertNoMatch" in mapcss
> validator files and/or add the explanation at
> http://josm.openstreetmap.de/wiki/Help/Validator/MapCSSTagChecker ?
>
> If I understand correct, you can give there examples, which should
> (assertMatch) or should not (assertNoMatch) match the used selector? And
> this is used for internal tests if the rules work correct? Should there
> always be atleast one assertMatch and one assertNoMatch when adding new
> validator tests?
>
> Best Regards
> Stefan
> (Klumbumbus)
>
> _______________________________________________
> josm-dev mailing list
> josm-dev@openstreetmap.org
> https://lists.openstreetmap.org/listinfo/josm-dev
>
_______________________________________________
josm-dev mailing list
josm-dev@openstreetmap.org
https://lists.openstreetmap.org/listinfo/josm-dev

Reply via email to