Skip to content

Commit 64cc8fe

Browse files
committed
fix test output
1 parent 1c2df8e commit 64cc8fe

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

tests/330-poll-pipe.phpt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,18 @@ Check poll of a pipe works
44
<?php
55
$fd = popen(PHP_BINARY . " ". __DIR__ . "/fixtures/proc.php", "w");
66
stream_set_blocking($fd, 0);
7-
fwrite($fd, 'test');
87

98
$loop = uv_loop_new();
109
$poll = uv_poll_init($loop, $fd);
1110

1211
uv_poll_start($poll, UV::READABLE, function($poll, $stat, $ev, $fd) {
13-
echo "OK";
12+
echo "\nOK";
1413
uv_poll_stop($poll);
1514
pclose($fd);
1615
});
1716
uv_run($loop);
1817

18+
fwrite($fd, 'test');
1919
--EXPECT--
20+
hello
2021
OK

0 commit comments

Comments
 (0)