diff --git a/_test/tests/inc/common_cleanText.test.php b/_test/tests/inc/common_cleanText.test.php
index 00e70d4c72f2779acc34544fa0bd1baa161761a9..9d4494332001539e9afb4eda5460376c10d57918 100644
--- a/_test/tests/inc/common_cleanText.test.php
+++ b/_test/tests/inc/common_cleanText.test.php
@@ -3,11 +3,7 @@
 class common_cleanText_test extends DokuWikiTest {
 
     function test_unix(){
-        $unix = 'one
-                two
-
-                three';
-
+        $unix = "one\n                two\n\n                three";
         $this->assertEquals($unix,cleanText($unix));
     }
 
diff --git a/_test/tests/lib/exe/js_js_compress.test.php b/_test/tests/lib/exe/js_js_compress.test.php
index aa8d82933b600fca0c905073a307c639827ac7ab..49f93cc54578b2ceaa350e06fd670126bc9eb7f7 100644
--- a/_test/tests/lib/exe/js_js_compress.test.php
+++ b/_test/tests/lib/exe/js_js_compress.test.php
@@ -111,12 +111,10 @@ class js_js_compress_test extends DokuWikiTest {
     }
 
     function test_multilinestring(){
-        $text = 'var foo = "this is a \\
-multiline string";';
+        $text = 'var foo = "this is a \\'."\n".'multiline string";';
         $this->assertEquals('var foo="this is a multiline string";',js_compress($text));
 
-        $text = "var foo = 'this is a \\
-multiline string';";
+        $text = "var foo = 'this is a \\\nmultiline string';";
         $this->assertEquals("var foo='this is a multiline string';",js_compress($text));
     }