X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=tests%2Fmessage003.phpt;h=93f128a4362325d5ea479763c606c7712c996904;hp=2f2b514522b40e4b872f7fb07157a7ac5d8f9a15;hb=refs%2Fheads%2Fv2.3.x;hpb=ae3da9e40ac118dc77984bfe172aa0ddc0a49a48 diff --git a/tests/message003.phpt b/tests/message003.phpt index 2f2b514..93f128a 100644 --- a/tests/message003.phpt +++ b/tests/message003.phpt @@ -1,22 +1,24 @@ --TEST-- multipart message --SKIPIF-- - --FILE-- -isMultipart($boundary)) { var_dump($boundary); - foreach ($m->splitMultipartBody() as $mm) { - echo "===\n",$mm,"===\n"; + foreach ($m->splitMultipartBody() as $i => $mm) { + echo "==$i==\n",$mm,"===\n"; } } ?> DONE --EXPECTF-- string(40) "----------------------------6e182425881c" -=== +==%d== Content-Disposition: form-data; name="composer"; filename="composer.json" Content-Type: application/octet-stream Content-Length: 567 @@ -46,7 +48,7 @@ Content-Length: 567 } === -=== +==%d== Content-Disposition: form-data; name="LICENSE"; filename="LICENSE" Content-Type: application/octet-stream Content-Length: 1354