From 65ee48a57f42826189844ad1039c37a8a675dbab Mon Sep 17 00:00:00 2001 From: Hakan Sandell Date: Sun, 1 Jul 2012 11:38:02 +0200 Subject: Made multiline test cases work on windows too --- _test/tests/lib/exe/js_js_compress.test.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to '_test/tests/lib/exe') diff --git a/_test/tests/lib/exe/js_js_compress.test.php b/_test/tests/lib/exe/js_js_compress.test.php index aa8d82933..49f93cc54 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)); } -- cgit v1.2.3