Skip to content

Commit

Permalink
Merge branch 'MDL-65744' of git://github.com/Chocolate-lightning/moodle
Browse files Browse the repository at this point in the history
  • Loading branch information
stronk7 committed Jul 16, 2019
2 parents e752e12 + f305ffc commit 415ce83
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/tests/minify_test.php
Expand Up @@ -110,11 +110,11 @@ function hm()

$files = array($testfile1, $testfile2);

$this->assertSame("function hm()\n{};\nfunction oh(){}", core_minify::js_files($files));
$this->assertSame("function hm(){};\nfunction oh(){}", core_minify::js_files($files));

$files = array($testfile1, $testfile2, $testfile3);

$this->assertStringStartsWith("function hm()\n{};\nfunction oh(){};\n\n\n// Cannot read JS file ",
$this->assertStringStartsWith("function hm(){};\nfunction oh(){};\n\n\n// Cannot read JS file ",
@core_minify::js_files($files));

unlink($testfile1);
Expand Down

0 comments on commit 415ce83

Please sign in to comment.