about summary refs log tree commit homepage
path: root/t
diff options
context:
space:
mode:
Diffstat (limited to 't')
-rw-r--r--t/ds-leak.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/ds-leak.t b/t/ds-leak.t
index 34ffc125..a4a56e0d 100644
--- a/t/ds-leak.t
+++ b/t/ds-leak.t
@@ -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');