Index: trunk/extensions/GeoData/tests/TagTest.php |
— | — | @@ -69,6 +69,10 @@ |
70 | 70 | '{{#coordinates: 10| primary | 20}}', |
71 | 71 | array( 'lat' => 10, 'lon' => 20, 'globe' => 'earth', 'primary' => true ), |
72 | 72 | ), |
| 73 | + array( // empty parameter instead of primary |
| 74 | + '{{#coordinates: 10 | | 20 }}', |
| 75 | + array( 'lat' => 10, 'lon' => 20, 'globe' => 'earth', 'primary' => false ), |
| 76 | + ), |
73 | 77 | array( |
74 | 78 | '{{#coordinates: primary|10|20}}', |
75 | 79 | array( 'lat' => 10, 'lon' => 20, 'globe' => 'earth', 'primary' => true ), |