expect->expectf

This commit is contained in:
Antony Dovgal 2008-03-20 12:13:57 +00:00
parent 9b1c720c3d
commit a81de7c7a1
4 changed files with 6 additions and 6 deletions

View File

@ -8,7 +8,7 @@ var_dump(stream_get_meta_data($tcp_socket));
fclose($tcp_socket);
?>
--EXPECT--
--EXPECTF--
array(8) {
["stream_type"]=>
string(%d) "tcp_socke%s"
@ -27,7 +27,7 @@ array(8) {
["eof"]=>
bool(false)
}
--UEXPECT--
--UEXPECTF--
array(8) {
[u"stream_type"]=>
unicode(%d) "tcp_socke%s"

View File

@ -33,7 +33,7 @@ while(!feof($client)) {
var_dump(stream_get_meta_data($client));
?>
--EXPECT--
--EXPECTF--
Write some data:
array(8) {
["stream_type"]=>

View File

@ -32,7 +32,7 @@ fclose($socket);
fclose($server);
?>
--EXPECT--
--EXPECTF--
array(8) {
["stream_type"]=>
string(%d) "tcp_socke%s"

View File

@ -27,7 +27,7 @@ fclose($socket);
fclose($server);
?>
--EXPECT--
--EXPECTF--
array(8) {
["stream_type"]=>
string(%d) "tcp_socke%s"
@ -90,7 +90,7 @@ array(8) {
["eof"]=>
bool(false)
}
--UEXPECT--
--UEXPECTF--
array(8) {
[u"stream_type"]=>
unicode(%d) "tcp_socke%s"