test/resources/rules/add-tag-and-match.test
raw| 1 | |
| 2 | # Test that tags that are added by an action work with =* in following |
| 3 | # rules. |
| 4 | |
| 5 | Way |
| 6 | name=Long Lane |
| 7 | highway=residential |
| 8 | |
| 9 | <<<lines>>> |
| 10 | highway=residential { add test=yes } |
| 11 | |
| 12 | test=* [0x1] |
| 13 | highway=residential [0x2] |
| 14 | |
| 15 | <finalize> |
| 16 | name=* { name '${name}' } |
| 17 | |
| 18 | <<<results>>> |
| 19 | WAY 1: Line 0x1, labels=[Long Lane, null, null, null], res=24-24 (1/1),(2/2), |