]> Sergey Matveev's repositories - public-inbox.git/blobdiff - xt/msgtime_cmp.t
use "\&" where possible when referring to subroutines
[public-inbox.git] / xt / msgtime_cmp.t
index 0ce3c042217ddbf74dab648cd31b235265d347aa..aa96be4db4877a85dd26140031baa1bcdd2479aa 100644 (file)
@@ -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);