diff options
Diffstat (limited to 't')
-rw-r--r-- | t/ds-leak.t | 2 |
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'); |