Fixed a few test cases

This commit is contained in:
Tjerk Meesters 2014-08-20 20:56:18 +08:00
parent 3beb67167f
commit be7ff58ae1
3 changed files with 7 additions and 5 deletions

View File

@ -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)

View File

@ -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)

View File

@ -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();