projects
/
m6w6
/
ext-http
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
split off property proxy
[m6w6/ext-http]
/
tests
/
factory.phpt
diff --git
a/tests/factory.phpt
b/tests/factory.phpt
index 6a629768102506962d894628880f0862f436d554..64969132757aa4be3b54f3aaddaa5e6b2cd0d76f 100644
(file)
--- a/
tests/factory.phpt
+++ b/
tests/factory.phpt
@@
-39,7
+39,8
@@
var_dump(
foreach (array("Client", "Pool", "DataShare") as $type) {
try {
foreach (array("Client", "Pool", "DataShare") as $type) {
try {
- var_dump((new http\Client\Factory(array("driver" => "nonexistant")))->{"create$type"}());
+ $f = new http\Client\Factory(array("driver" => "nonexistant"));
+ var_dump($f->{"create$type"}());
} catch (Exception $e) {
echo $e->getMessage(), "\n";
}
} catch (Exception $e) {
echo $e->getMessage(), "\n";
}