From bd3811f1b40ca51dd73de641c3b80ef80a8b10a9 Mon Sep 17 00:00:00 2001 From: Damyon Wiese Date: Mon, 2 Dec 2013 12:52:01 +0800 Subject: [PATCH] MDL-43018 Fix unit tests for minify changes. --- lib/tests/minify_test.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/tests/minify_test.php b/lib/tests/minify_test.php index d170d5527f7..75de3b8d93d 100644 --- a/lib/tests/minify_test.php +++ b/lib/tests/minify_test.php @@ -110,11 +110,11 @@ function hm() $files = array($testfile1, $testfile2); - $this->assertSame("function hm(){}\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(){}\nfunction oh(){}\n\n\n// Cannot read JS file ", @core_minify::js_files($files)); + $this->assertStringStartsWith("function hm(){};\nfunction oh(){};\n\n\n// Cannot read JS file ", @core_minify::js_files($files)); unlink($testfile1); unlink($testfile2);