mirror of
https://github.com/mrclay/minify.git
synced 2025-08-12 17:14:24 +02:00
Fixed test_HTTP_Encoder.php
This commit is contained in:
@@ -68,13 +68,13 @@ function test_HTTP_Encoder()
|
|||||||
|
|
||||||
$variedContent = file_get_contents($thisDir . '/_test_files/html/before.html')
|
$variedContent = file_get_contents($thisDir . '/_test_files/html/before.html')
|
||||||
. file_get_contents($thisDir . '/_test_files/css/subsilver.css')
|
. file_get_contents($thisDir . '/_test_files/css/subsilver.css')
|
||||||
. file_get_contents($thisDir . '/../examples/1/jquery-1.2.3.js');
|
. file_get_contents($thisDir . '/../examples/jquery-1.2.3.js');
|
||||||
$variedLength = strlen($variedContent);
|
$variedLength = strlen($variedContent);
|
||||||
|
|
||||||
$encodingTests = array(
|
$encodingTests = array(
|
||||||
array('method' => 'deflate', 'exp' => 32157)
|
array('method' => 'deflate', 'exp' => 32157)
|
||||||
,array('method' => 'gzip', 'exp' => 32175)
|
,array('method' => 'gzip', 'exp' => 32175)
|
||||||
,array('method' => 'compress', 'exp' => 32210)
|
,array('method' => 'compress', 'exp' => 32211)
|
||||||
);
|
);
|
||||||
|
|
||||||
foreach ($encodingTests as $test) {
|
foreach ($encodingTests as $test) {
|
||||||
|
Reference in New Issue
Block a user