X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=tests%2Fencoding_objects_001.phpt;h=67da0ce634b3945178b037a6d63e0c02fccb2bc2;hp=f2fc6e29588e7b792919111808346fd5078b35a4;hb=6e9ea0a647db55213dd230145c35a419d7abde4d;hpb=d4f8313f211bdc3e62a4788690cad8edef85f7f2 diff --git a/tests/encoding_objects_001.phpt b/tests/encoding_objects_001.phpt index f2fc6e2..67da0ce 100644 --- a/tests/encoding_objects_001.phpt +++ b/tests/encoding_objects_001.phpt @@ -14,11 +14,22 @@ $i = new HttpInflateStream; echo $i->flush($d->flush("Hi ")); echo $i->finish($d->finish("there!\n")); echo $i->finish($d->finish("Yo...\n")); + +$id = $i->update($d->update($pd = file_get_contents(__FILE__))); +foreach (glob('*.phpt') as $f) { + $id .= $i->update($d->update($tmp = file_get_contents($f))); + $pd .= $tmp; +} +$id .= $i->finish($d->finish()); + +var_dump($id == $pd); + echo "Done\n"; ?> --EXPECTF-- %sTEST Hi there! Yo... +bool(true) Done