MDL-65744 lib: Modify minify test to check properly

This commit is contained in:
Mathew May
2019-07-16 17:05:33 +08:00
parent b4e39ff24e
commit ad4d9cf745
+1 -1
View 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);