MDL-65744 lib: Modify minify test to check properly
authorMathew May <mathewm@hotmail.co.nz>
Tue, 11 Jun 2019 23:33:22 +0000 (07:33 +0800)
committerMathew May <mathewm@hotmail.co.nz>
Tue, 11 Jun 2019 23:33:22 +0000 (07:33 +0800)
lib/tests/minify_test.php

index 6eacf71..2e3f9f8 100644 (file)
@@ -83,7 +83,7 @@ function hm()
 }
 ";
 
-        $this->assertSame("function hm()\n{}", core_minify::js($js));
+        $this->assertSame("function hm(){}", core_minify::js($js));
 
         $js = "function hm{}";
         $result = core_minify::js($js);