Merge "(Bug 41169) Apply rtrim on on preSaveTransfrom."
[lhc/web/wiklou.git] / tests / phpunit / includes / TextContentTest.php
index ebadfb5..10934b4 100644 (file)
@@ -68,8 +68,13 @@ class TextContentTest extends MediaWikiTestCase {
 
        public function dataPreSaveTransform() {
                return array(
-                       array( 'hello this is ~~~',
-                              "hello this is ~~~",
+                       array( #0: no signature resolution
+                               "hello this is ~~~",
+                               "hello this is ~~~",
+                       ),
+                       array( #1: rtrim
+                               " Foo \n ",
+                               " Foo",
                        ),
                );
        }