* (bug 5286) Fix regression in display of missing/bad revision IDs
[lhc/web/wiklou.git] / tests / SanitizerTest.php
index e9ce295..5babf0a 100644 (file)
@@ -10,10 +10,10 @@ class SanitizerTest extends PHPUnit_TestCase {
        function SanitizerTest( $name ) {
                $this->PHPUnit_TestCase( $name );
        }
-       
+
        function setUp() {
        }
-       
+
        function tearDown() {
        }
 
@@ -28,13 +28,13 @@ class SanitizerTest extends PHPUnit_TestCase {
                        "\xc4\x88io bonas dans l'\xc3\xa9cole!",
                        Sanitizer::decodeCharReferences( "Ĉio bonas dans l'école!" ) );
        }
-       
+
        function testDecodeMixed() {
                $this->assertEquals(
                        "\xc4\x88io bonas dans l'\xc3\xa9cole!",
                        Sanitizer::decodeCharReferences( "Ĉio bonas dans l'école!" ) );
        }
-       
+
        function testDecodeMixedComplex() {
                $this->assertEquals(
                        "\xc4\x88io bonas dans l'\xc3\xa9cole! (mais pas Ĉio dans l'école)",
@@ -46,19 +46,19 @@ class SanitizerTest extends PHPUnit_TestCase {
                        "a & b",
                        Sanitizer::decodeCharReferences( "a & b" ) );
        }
-       
+
        function testDecodeInvalidNamed() {
                $this->assertEquals(
                        "&foo;",
                        Sanitizer::decodeCharReferences( "&foo;" ) );
        }
-       
+
        function testDecodeInvalidNumbered() {
                $this->assertEquals(
                        UTF8_REPLACEMENT,
                        Sanitizer::decodeCharReferences( "�" ) );
        }
-       
+
        /* TODO: many more! */
 }