X-Git-Url: http://www.git.stargrave.org/?a=blobdiff_plain;f=xt%2Fmsgtime_cmp.t;h=ae9e42152a1afea811ea2daf1f1d513da81e863a;hb=ec6d2dc31406378f77aa681017083fe8e98b4df9;hp=0ce3c042217ddbf74dab648cd31b235265d347aa;hpb=eeeae20893a2595631359e719eadac9686572734;p=public-inbox.git diff --git a/xt/msgtime_cmp.t b/xt/msgtime_cmp.t index 0ce3c042..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; @@ -62,7 +62,7 @@ my $fh = $git->popen(@cat); 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);