X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=tests%2Fheader007.phpt;h=d565e79192d7205b22498dbe935278c08ad6c6fb;hp=7f6f9eb467dc5c53e7417c1504a3e251e0bc3079;hb=21f7beb95f0a71f3bc62a91b7802ebdebcc549a0;hpb=40688e36ecfc7b22a1221079a8d40edd122ee550 diff --git a/tests/header007.phpt b/tests/header007.phpt index 7f6f9eb..d565e79 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 character '\012' at pos 4 of 'wass\nup' in %s on line %d Done