fix #98 #99 #100 #101 #102 #103
[m6w6/ext-http] / tests / gh-issue50.phpt
index 61e0865e7b1121cc857f9624b787cb953c403a07..57cbd9a6ce786d93c09cd5f6fb3f0164aa9515fb 100644 (file)
@@ -6,6 +6,8 @@ include "skipif.inc";
 skip_client_test();
 skip_online_test();
 ?>
+--INI--
+zend.exception_ignore_args=off
 --FILE--
 <?php
 echo "Test\n";
@@ -30,10 +32,10 @@ try {
 ===DONE===
 --EXPECTF--
 Test
-exception 'http\Exception\RuntimeException' with message 'http\Client::dequeue(): Could not dequeue request while executing callbacks' in %sgh-issue50.php:9
+http\Exception\RuntimeException: http\Client::dequeue(): Could not dequeue request while executing callbacks in %sgh-issue50.php:9
 Stack trace:
 #0 %sgh-issue50.php(9): http\Client->dequeue(Object(http\Client\Request))
-#1 [internal function]: {closure}(Object(http\Client), Object(http\Client\Request), 18, 'GET / HTTP/1.1\r...')
+#1 [internal function]: {closure}(Object(http\Client), Object(http\Client\Request), 18, 'GET / HTTP/1.1%s...')
 #2 %sgh-issue50.php(14): http\Client->send()
 #3 {main}
 ===DONE===