mirror of
https://github.com/danog/ext-uv.git
synced 2024-11-30 04:29:01 +01:00
Fixed a few test cases
This commit is contained in:
parent
3beb67167f
commit
be7ff58ae1
@ -3,5 +3,5 @@ Check for uv_ip4_addr
|
||||
--FILE--
|
||||
<?php
|
||||
var_dump(uv_ip4_addr("0.0.0.0",0));
|
||||
--EXPECT--
|
||||
resource(4) of type (uv_sockaddr)
|
||||
--EXPECTF--
|
||||
resource(%d) of type (uv_sockaddr)
|
||||
|
@ -3,5 +3,5 @@ Check for uv_ip6_addr
|
||||
--FILE--
|
||||
<?php
|
||||
var_dump(uv_ip6_addr("::0",0));
|
||||
--EXPECT--
|
||||
resource(4) of type (uv_sockaddr)
|
||||
--EXPECTF--
|
||||
resource(%d) of type (uv_sockaddr)
|
||||
|
@ -1,5 +1,7 @@
|
||||
--TEST--
|
||||
Check for uv_http_parser
|
||||
--SKIPIF--
|
||||
<?php if (!function_exists('uv_http_parser_execute')) die("Skipped: needs http parser."); ?>
|
||||
--FILE--
|
||||
<?php
|
||||
$parser = uv_http_parser_init();
|
||||
|
Loading…
Reference in New Issue
Block a user