It's slightly easier to test on a machine without Test::More
and I'm hand-rolling my own is() and ok() subs.
---
 t/epoll.t | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/t/epoll.t b/t/epoll.t
index a1e73e07..f2a68904 100644
--- a/t/epoll.t
+++ b/t/epoll.t
@@ -17,6 +17,6 @@ is(scalar(@events), 1, 'got one event');
 is($events[0], fileno($w), 'got expected FD');
 close $w;
 epoll_wait($epfd, 100, 0, \@events);
-is(@events, 0, 'epoll_wait timeout');
+is(scalar(@events), 0, 'epoll_wait timeout');
 
 done_testing;
--
unsubscribe: one-click, see List-Unsubscribe header
archive: https://public-inbox.org/meta/

Reply via email to