]> Sergey Matveev's repositories - public-inbox.git/blobdiff - t/ds-leak.t
ds: add_timer: rename from AddTimer, remove a parameter
[public-inbox.git] / t / ds-leak.t
index 34ffc125ed49a8dfcc975550b4cc4acc299d3ed4..a4a56e0d6fc4e18aa29506d65f78f0185bdf1e06 100644 (file)
@@ -20,7 +20,7 @@ if ('close-on-exec for epoll and kqueue') {
        my ($r, $w);
        pipe($r, $w) or die "pipe: $!";
 
-       PublicInbox::DS->AddTimer(0, sub { $pid = spawn([qw(sleep 10)]) });
+       PublicInbox::DS::add_timer(0, sub { $pid = spawn([qw(sleep 10)]) });
        PublicInbox::DS->EventLoop;
        ok($pid, 'subprocess spawned');