X-Git-Url: http://www.git.stargrave.org/?a=blobdiff_plain;f=xt%2Fmsgtime_cmp.t;h=ae9e42152a1afea811ea2daf1f1d513da81e863a;hb=af0b0fb7a454470a32c452119d0392e0dedb3fe1;hp=95d7c64bec67a337eaccf44d5b4227d1925a2fad;hpb=0283273a14e1871955f6a9132f4f3f7884ec8a3f;p=public-inbox.git diff --git a/xt/msgtime_cmp.t b/xt/msgtime_cmp.t index 95d7c64b..ae9e4215 100644 --- a/xt/msgtime_cmp.t +++ b/xt/msgtime_cmp.t @@ -1,5 +1,5 @@ #!perl -w -# Copyright (C) 2019-2020 all contributors +# Copyright (C) 2019-2021 all contributors # License: AGPL-3.0+ use strict; use Test::More; @@ -59,11 +59,10 @@ sub compare { } my $fh = $git->popen(@cat); -$git->cat_async_begin; while (<$fh>) { my ($oid, $type) = split / /; next if $type ne 'blob'; - $git->cat_async($oid, *compare); + $git->cat_async($oid, \&compare); } $git->cat_async_wait; ok(1);