X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=tests%2Fclient029.phpt;h=70f1005e6a3114f19800484d0a409584948c2c79;hb=c55db20a130d729ca8747346c5e5ab9fb52fd89d;hp=2ed6d7934c36773a9fdbcd2d635bb4ab84970289;hpb=e8ff1c1db343e8862ff436381a9b6ba01a60a4fa;p=m6w6%2Fext-http diff --git a/tests/client029.phpt b/tests/client029.phpt index 2ed6d79..70f1005 100644 --- a/tests/client029.phpt +++ b/tests/client029.phpt @@ -7,6 +7,8 @@ skip_client_test(); _ext("ev"); ?> +--XFAIL-- +ext-ev leaks --FILE-- 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()"); }