Index: trunk/extensions/Maps/test/MapsDistanceParserTest.php |
— | — | @@ -92,9 +92,10 @@ |
93 | 93 | ); |
94 | 94 | |
95 | 95 | foreach( array_merge( $conversions, array_reverse( $conversions ) ) as $source => $target ) { |
| 96 | + global $wgContLang; |
96 | 97 | $unit = explode( ' ', $target, 2 ); |
97 | 98 | $unit = $unit[1]; |
98 | | - $this->assertEquals( $target, MapsDistanceParser::parseAndFormat( $source, $unit ), "'$source' was not parsed and formatted to '$target':" ); |
| 99 | + $this->assertEquals( $wgContLang->formatNum( $target ), MapsDistanceParser::parseAndFormat( $source, $unit ), "'$source' was not parsed and formatted to '$target':" ); |
99 | 100 | } |
100 | 101 | } |
101 | 102 | |