X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=tests%2Fheader007.phpt;h=7fb4dd1141a7dc01174d842903677bb13200b796;hp=7f6f9eb467dc5c53e7417c1504a3e251e0bc3079;hb=b2a4f89e30c04a18ec0da23d2ff0c80c2dccf42e;hpb=40688e36ecfc7b22a1221079a8d40edd122ee550 diff --git a/tests/header007.phpt b/tests/header007.phpt index 7f6f9eb..7fb4dd1 100644 --- a/tests/header007.phpt +++ b/tests/header007.phpt @@ -10,7 +10,6 @@ include "skipif.inc"; echo "Test\n"; $header = "wass\nup"; -/* this generates two warnings because of the LF ;) */ http\Header::parse($header); ?> @@ -18,7 +17,5 @@ Done --EXPECTF-- Test -Warning: http\Header::parse(): Could not parse headers in %s on line %d - -Warning: http\Header::parse(): Could not parse headers in %s on line %d +Warning: http\Header::parse(): Failed to parse headers: unexpected end of line at pos 4 of 'wass\nup' in %s on line %d Done