X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=tests%2FHttpRequestPool_007.phpt;h=8e97d402c8a5cb90897b1d75b5be67e04d63c628;hp=2105d4929fd713d18c980f45df4775f442eeefcf;hb=6c4a552c1ad7b0018afb57a3d0028c2be166a30a;hpb=caecdff1920aed4c6b98b0a23598e9d359ece50b diff --git a/tests/HttpRequestPool_007.phpt b/tests/HttpRequestPool_007.phpt index 2105d49..8e97d40 100644 --- a/tests/HttpRequestPool_007.phpt +++ b/tests/HttpRequestPool_007.phpt @@ -5,8 +5,7 @@ HttpRequestPool chain with libevent include 'skip.inc'; checkcls('HttpRequest'); checkcls('HttpRequestPool'); -$pool = new RequestPool; -skipif(!@$pool->enableEvents(), "need libevent support"); +skipif(!http_support(HTTP_SUPPORT_EVENTS), "need libevent support"); ?> --FILE--