Last modified: 2011-09-24 12:24:36 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T33132, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 31132 - Failing unit test in Maps
Failing unit test in Maps
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
Maps (Other open bugs)
unspecified
All All
: Unprioritized normal (vote)
: ---
Assigned To: Jeroen De Dauw
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-09-24 07:33 UTC by Niklas Laxström
Modified: 2011-09-24 12:24 UTC (History)
0 users

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Niklas Laxström 2011-09-24 07:33:22 UTC
4) MapsDistanceParserTest::testParseAndFormat
'42 km' was not parsed and formatted to '42000 m':
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-42000 m
+42,000 m

/www/sandwiki/extensions/Maps/test/MapsDistanceParserTest.php:97
/www/sandwiki/tests/phpunit/MediaWikiTestCase.php:64
/www/sandwiki/tests/phpunit/MediaWikiPHPUnitCommand.php:31
/www/sandwiki/tests/phpunit/phpunit.php:60
Comment 1 Jeroen De Dauw 2011-09-24 12:18:37 UTC
:D

This has to do with some i18n tweak you made me do to the distance parser function, and I forgot to apply to the unit test, which is now "broken" :)

Will fix in a minute.
Comment 2 Jeroen De Dauw 2011-09-24 12:24:36 UTC
Should be fixed by r97995

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links