summaryrefslogtreecommitdiff
path: root/_test
diff options
context:
space:
mode:
Diffstat (limited to '_test')
-rw-r--r--_test/cases/lib/exe/js_js_compress.test.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/_test/cases/lib/exe/js_js_compress.test.php b/_test/cases/lib/exe/js_js_compress.test.php
index b79cd9ab4..bd00c9c4f 100644
--- a/_test/cases/lib/exe/js_js_compress.test.php
+++ b/_test/cases/lib/exe/js_js_compress.test.php
@@ -56,7 +56,7 @@ class js_js_compress_test extends UnitTestCase {
function test_dquotrunaway(){
$text = 'var foo="Now where does it end';
- $this->assertEqual(js_compress($text), "$text\n"); //\n is added by compressor
+ $this->assertEqual(js_compress($text), "$text");
}
function test_squot1(){
@@ -66,7 +66,7 @@ class js_js_compress_test extends UnitTestCase {
function test_squotrunaway(){
$text = "var foo='Now where does it end";
- $this->assertEqual(js_compress($text), "$text\n"); //\n is added by compressor
+ $this->assertEqual(js_compress($text), "$text");
}
function test_nl1(){