--- EV/t/03_keepalive.t 2009/04/15 17:49:27 1.2 +++ EV/t/03_keepalive.t 2010/10/21 15:13:42 1.4 @@ -17,7 +17,7 @@ $timer->keepalive (1); print "ok 1\n"; -EV::loop; +EV::run; print "ok 2\n"; $timer->start; @@ -28,16 +28,16 @@ $timer->stop; $timer->start; -my $timer2 = EV::timer 0, 0, sub { print "ok 4\n" }; +my $timer2 = EV::timer -1, 0, sub { print "ok 4\n" }; $timer2->keepalive (0); print "ok 3\n"; -EV::loop; +EV::run; print "ok 5\n"; $timer->keepalive (1); print "ok 6\n"; -EV::loop; +EV::run; print "ok 8\n";