MDL-65744 lib: Modify minify test to check properly

This commit is contained in:
Mathew May 2019-06-12 07:33:22 +08:00
parent 8ae5a16743
commit 90ca6fad47

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);