r109623 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r109622‎ | r109623 | r109624 >
Date:16:06, 20 January 2012
Author:maxsem
Status:ok
Tags:geodata 
Comment:
Another test
Modified paths:
  • /trunk/extensions/GeoData/tests/TagTest.php (modified) (history)

Diff [purge]

Index: trunk/extensions/GeoData/tests/TagTest.php
@@ -69,6 +69,10 @@
7070 '{{#coordinates: 10| primary | 20}}',
7171 array( 'lat' => 10, 'lon' => 20, 'globe' => 'earth', 'primary' => true ),
7272 ),
 73+ array( // empty parameter instead of primary
 74+ '{{#coordinates: 10 | | 20 }}',
 75+ array( 'lat' => 10, 'lon' => 20, 'globe' => 'earth', 'primary' => false ),
 76+ ),
7377 array(
7478 '{{#coordinates: primary|10|20}}',
7579 array( 'lat' => 10, 'lon' => 20, 'globe' => 'earth', 'primary' => true ),

Status & tagging log