]> Sergey Matveev's repositories - public-inbox.git/blobdiff - xt/eml_check_limits.t
imap+nntp: share COMPRESS implementation
[public-inbox.git] / xt / eml_check_limits.t
index cf780c77babaac401b72b6a38eb4925a1bc660c2..a6d010af0518f3f8866eebf0ee018bd336147f44 100644 (file)
@@ -1,6 +1,8 @@
 #!perl -w
-# Copyright (C) 2020 all contributors <meta@public-inbox.org>
+# Copyright (C) 2020-2021 all contributors <meta@public-inbox.org>
 # License: AGPL-3.0+ <https://www.gnu.org/licenses/agpl-3.0.txt>
+use strict;
+use v5.10.1;
 use Test::More;
 use PublicInbox::TestCommon;
 use PublicInbox::Eml;
@@ -65,7 +67,7 @@ my $t = timeit(1, sub {
                ++$n;
                $git->cat_async($blob, $cat_cb);
        }
-       $git->cat_async_wait;
+       $git->async_wait_all;
 });
 is($m, $n, 'scanned all messages');
 diag "$$ $inboxdir took ".timestr($t)." for $n <=> $m messages";