summaryrefslogtreecommitdiff
path: root/_test/tests/lib/exe
diff options
context:
space:
mode:
authorHakan Sandell <sandell.hakan@gmail.com>2012-07-01 11:38:02 +0200
committerHakan Sandell <sandell.hakan@gmail.com>2012-07-01 11:38:02 +0200
commit65ee48a57f42826189844ad1039c37a8a675dbab (patch)
tree05d6a1aceeece7168f6e535b0921bac4b64e0393 /_test/tests/lib/exe
parente6101bb6d72b59fd88801f5cb82fe5c3433b8010 (diff)
downloadrpg-65ee48a57f42826189844ad1039c37a8a675dbab.tar.gz
rpg-65ee48a57f42826189844ad1039c37a8a675dbab.tar.bz2
Made multiline test cases work on windows too
Diffstat (limited to '_test/tests/lib/exe')
-rw-r--r--_test/tests/lib/exe/js_js_compress.test.php6
1 files changed, 2 insertions, 4 deletions
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));
}