https://bugzilla.wikimedia.org/show_bug.cgi?id=24451

           Summary: Test case failure in UTF-8 normalization:
                    CleanupTest.php
           Product: MediaWiki
           Version: 1.17-svn
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: major
          Priority: Normal
         Component: General/Unknown
        AssignedTo: [email protected]
        ReportedBy: [email protected]


This is a bit worrying, since the given case is one of the most important ones
-- UtfNormal::cleanUp() is supposed to normalize combining characters, and here
it's not tripping correctly.

Not quite sure why this is failing, needs investigation.

The recent commit w/ iconv support doesn't seem to be tripping the issue for
me. Tested so far w/ PHP 5.2 & 5.3 custom-built on Mac OS X 10.6.

$ /opt/php52/bin/php CleanUpTest.php 
PHPUnit 3.4.15 by Sebastian Bergmann.

...F..........

Time: 11 seconds, Memory: 8.75Mb

There was 1 failure:

1) CleanUpTest::testLatinNormal
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-L'école
+L'école

/Library/WebServer/Documents/trunk/includes/normal/CleanUpTest.php:79
/Library/WebServer/Documents/trunk/includes/normal/CleanUpTest.php:407

FAILURES!
Tests: 14, Assertions: 66571, Failures: 1.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to