X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=tests%2Fclient029.phpt;h=1c8dc4f3528700708d342f08478461847e1fc591;hp=2ed6d7934c36773a9fdbcd2d635bb4ab84970289;hb=faf7a7899fa8ffb24f8105a921f359d6b97ec34e;hpb=cc9215bc026c37420de775d3ef95c582caf8eca0 diff --git a/tests/client029.phpt b/tests/client029.phpt index 2ed6d79..1c8dc4f 100644 --- a/tests/client029.phpt +++ b/tests/client029.phpt @@ -7,6 +7,8 @@ skip_client_test(); _ext("ev"); ?> +--XFAIL-- +ext-ev leaks --FILE-- client = $client; } - function init(callable $run) { + function init($run) { $this->run = $run; } - function timer($timeout_ms) { + function timer(int $timeout_ms) { echo "T"; if (isset($this->timeout)) { $this->timeout->set($timeout_ms/1000, 0); @@ -44,7 +46,7 @@ class UserHandler implements http\Client\Curl\User } } - function socket($socket, $action) { + function socket($socket, int $action) { echo "S"; switch ($action) { @@ -93,7 +95,7 @@ class UserHandler implements http\Client\Curl\User throw new BadMethodCallException("this test uses Ev::run()"); } - function wait($timeout_ms = null) { + function wait(int $timeout_ms = null) { throw new BadMethodCallException("this test uses Ev::run()"); }