mirror of
https://github.com/moodle/moodle.git
synced 2025-04-05 00:12:42 +02:00
MDL-65744 lib: Modify minify test to check properly
This commit is contained in:
parent
8ae5a16743
commit
90ca6fad47
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user