MDL-23979 fixed non standard entities result
authorPetr Skoda <skodak@moodle.org>
Sat, 28 Aug 2010 12:32:58 +0000 (12:32 +0000)
committerPetr Skoda <skodak@moodle.org>
Sat, 28 Aug 2010 12:32:58 +0000 (12:32 +0000)
lib/simpletest/testweblib.php

index a5a3c61..d705b32 100644 (file)
@@ -84,8 +84,8 @@ class web_test extends UnitTestCase {
     }
 
     function test_fix_non_standard_entities() {
-        $this->assertEqual(fix_non_standard_entities('&#x00A3&#0228'), '&#x00A3;&#0228;');
-        $this->assertEqual(fix_non_standard_entities('&#x00A3;&#0228;'), '&#x00A3;&#0228;');
+        $this->assertEqual(fix_non_standard_entities('&#x00A3&#0228'), '&#xA3;&#228;');
+        $this->assertEqual(fix_non_standard_entities('&#x00A3;&#0228;'), '&#xA3;&#228;');
     }
 
     function test_compare_url() {