summaryrefslogtreecommitdiff
path: root/_test
diff options
context:
space:
mode:
Diffstat (limited to '_test')
-rw-r--r--_test/cases/lib/exe/js_js_compress.test.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/_test/cases/lib/exe/js_js_compress.test.php b/_test/cases/lib/exe/js_js_compress.test.php
index 48b36af15..f46cbe227 100644
--- a/_test/cases/lib/exe/js_js_compress.test.php
+++ b/_test/cases/lib/exe/js_js_compress.test.php
@@ -19,6 +19,11 @@ class js_js_compress_test extends UnitTestCase {
$this->assertEqual(js_compress($text), 'var foo=6;');
}
+ function test_mlcomcond(){
+ $text = '/*@if (@_win32)';
+ $this->assertEqual(js_compress($text), '/*@if(@_win32)');
+ }
+
function test_slcom1(){
$text = '// an comment';
$this->assertEqual(js_compress($text), '');