X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-raphf;a=blobdiff_plain;f=tests%2Fhttp002.phpt;fp=tests%2Fhttp002.phpt;h=e9a59667f1385a3038db1af71395e29264b79643;hp=505adc575e54b1283db610179f85d07b734fe89e;hb=2ccaf8a134e3705268767d1a1850430cebc3c9a1;hpb=8ea73a559e5d63e768294d7cd1c4655923fd3e5a diff --git a/tests/http002.phpt b/tests/http002.phpt index 505adc5..e9a5966 100644 --- a/tests/http002.phpt +++ b/tests/http002.phpt @@ -13,7 +13,7 @@ if (!class_exists("http\\Client", false)) { enqueue(new http\Client\Request("GET", "http://php.net")); } while (count($c) < 3); @@ -25,7 +25,7 @@ var_dump(array_intersect_key($h, array_flip(preg_grep("/^http/", array_keys($h)) raphf\clean_persistent_handles("http\\Client\\Curl"); -raphf\clean_persistent_handles("http\\Client\\Curl\\Request", "php.net:80"); +raphf\clean_persistent_handles("http\\Client\\Curl\\Request", "PHP:php.net:80"); $h = (array) raphf\stat_persistent_handles(); var_dump(array_intersect_key($h, array_flip(preg_grep("/^http/", array_keys($h))))); @@ -37,7 +37,7 @@ Test array(2) { ["http\Client\Curl"]=> array(1) { - ["php.net:80"]=> + ["PHP"]=> array(2) { ["used"]=> int(0) @@ -47,7 +47,7 @@ array(2) { } ["http\Client\Curl\Request"]=> array(1) { - ["php.net:80"]=> + ["PHP:php.net:80"]=> array(2) { ["used"]=> int(0) @@ -62,7 +62,7 @@ array(2) { } ["http\Client\Curl\Request"]=> array(1) { - ["php.net:80"]=> + ["PHP:php.net:80"]=> array(2) { ["used"]=> int(0)