- add test
[m6w6/ext-http] / tests / HttpRequestPool_005.phpt
index 182f662e6849f6958b5e9c27516ea9d75b77a664..79c3b0d59378c234f8db9db9fb75ae8df8578081 100644 (file)
@@ -22,26 +22,11 @@ try {
 } catch (HttpRequestPoolException $x) {
        var_dump(count($x->exceptionStack));
 }
-
-try {
-       $p = new HttpRequestPool(new HttpRequest);
-} catch (HttpRequestPoolException $x) {
-       var_dump(count($x->exceptionStack));
-}
-
-try {
-       $p = new HttpRequestPool(new HttpRequest, new HttpRequest);
-} catch (HttpRequestPoolException $x) {
-       var_dump(count($x->exceptionStack));
-}
-
 echo "Done\n";
 ?>
 --EXPECTF--
 %sTEST
-int(1)
-int(2)
-int(1)
 int(2)
+int(4)
 Done