Merge "(Bug 41169) Apply rtrim on on preSaveTransfrom."
[lhc/web/wiklou.git] / tests / phpunit / includes / JavascriptContentTest.php
index e10d706..d3810af 100644 (file)
@@ -101,6 +101,9 @@ class JavascriptContentTest extends TextContentTest {
                        array( 'hello \'\'this\'\' is <nowiki>~~~</nowiki>',
                                'hello \'\'this\'\' is <nowiki>~~~</nowiki>',
                        ),
+                       array( " Foo \n ",
+                               " Foo",
+                       ),
                );
        }