1
0
mirror of https://github.com/mrclay/minify.git synced 2025-08-13 17:44:00 +02:00

test_Minify_Build.php : allow running test file directly

test_Minify.php : clearer unit test language
This commit is contained in:
Steve Clay
2009-01-28 23:49:13 +00:00
parent 67a8b0d355
commit 5686c0576d
2 changed files with 2 additions and 1 deletions

View File

@@ -49,7 +49,7 @@ function test_Minify()
! class_exists('HTTP_Encoder', false)
&& ! class_exists('Minify_CSS', false)
&& ! class_exists('Minify_Cache', false)
,'Encoder.php, CSS.php, Cache.php not loaded'
,'Minify : encoding, cache, and minifier classes aren\'t loaded for 304s'
);
// Test minifying JS and serving with Expires header

View File

@@ -19,6 +19,7 @@ function test_Minify_Build()
assertTrue($maxTime == $b->lastModified
,'Minify_Build : multiple file paths');
require_once 'Minify.php';
$b = new Minify_Build(array(
$file1
,new Minify_Source(array('filepath' => $file2))