X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=tests%2Fencoding_objects_001.phpt;h=f2fc6e29588e7b792919111808346fd5078b35a4;hp=d9cf992b54b3c28835a01fb3baf507ffbacbf6a0;hb=f0bcc141e62c022101d8d19c1d73e7b9ae41d0e9;hpb=52afbd9e2f860621ac40405d5c2298516493b121 diff --git a/tests/encoding_objects_001.phpt b/tests/encoding_objects_001.phpt index d9cf992..f2fc6e2 100644 --- a/tests/encoding_objects_001.phpt +++ b/tests/encoding_objects_001.phpt @@ -11,14 +11,14 @@ skipif(!http_support(HTTP_SUPPORT_ENCODINGS), "need zlib"); echo "-TEST\n"; $d = new HttpDeflateStream; $i = new HttpInflateStream; -echo $i->update($d->update("Hi ")); -echo $i->update($d->update("there!\n")); -echo $i->update($d->finish()); -echo $i->finish(); +echo $i->flush($d->flush("Hi ")); +echo $i->finish($d->finish("there!\n")); +echo $i->finish($d->finish("Yo...\n")); echo "Done\n"; ?> --EXPECTF-- %sTEST Hi there! +Yo... Done