projects
/
m6w6
/
ext-http
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
gh-actions: ci: fix yml
[m6w6/ext-http]
/
tests
/
header007.phpt
diff --git
a/tests/header007.phpt
b/tests/header007.phpt
index 7f6f9eb467dc5c53e7417c1504a3e251e0bc3079..7fb4dd1141a7dc01174d842903677bb13200b796 100644
(file)
--- a/
tests/header007.phpt
+++ b/
tests/header007.phpt
@@
-10,7
+10,6
@@
include "skipif.inc";
echo "Test\n";
$header = "wass\nup";
echo "Test\n";
$header = "wass\nup";
-/* this generates two warnings because of the LF ;) */
http\Header::parse($header);
?>
http\Header::parse($header);
?>
@@
-18,7
+17,5
@@
Done
--EXPECTF--
Test
--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
Done