projects
/
m6w6
/
ext-http
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
This commit was manufactured by cvs2svn to create tag 'RELEASE_0_24_0'.
[m6w6/ext-http]
/
tests
/
exceptions.phpt
diff --git
a/tests/exceptions.phpt
b/tests/exceptions.phpt
index 43bb19041d32a10480bab698c9f2f514dc6f3985..1febe33275e33ab9737d1a507c4fc217194fa6eb 100644
(file)
--- a/
tests/exceptions.phpt
+++ b/
tests/exceptions.phpt
@@
-34,15
+34,6
@@
foreach ($e as $i => $c) {
printf("%2d: %s\n", $i, get_class($x));
}
}
printf("%2d: %s\n", $i, get_class($x));
}
}
-if (http_support(HTTP_SUPPORT_REQUESTS)) {
- try {
- $tmp = http_get(null);
- } catch (HttpRequestException $x) {
- printf("%s (%d)\n", $x->getMessage(), $x->getCode());
- }
-} else {
- echo "URL using bad/illegal format or missing URL (8)\n";
-}
echo "Done\n";
?>
--EXPECTF--
echo "Done\n";
?>
--EXPECTF--
@@
-59,5
+50,4
@@
echo "Done\n";
10: HttpSocketException
11: HttpResponseException
12: HttpUrlException
10: HttpSocketException
11: HttpResponseException
12: HttpUrlException
-URL using bad/illegal format or missing URL (8)
Done
Done