X-Git-Url: http://www.git.stargrave.org/?a=blobdiff_plain;f=t%2Fmda.t;h=e3c5cdff2603871d52845c4d0dccdc64f0019a69;hb=1c5e51b931fb2a00df28dd5e81d1766b63e389b3;hp=c5b35eec21cf40d30a5c0dc2abc829afab7b05d5;hpb=d94b6dd63438174888db27f3a61ffdcf7d1a99da;p=public-inbox.git diff --git a/t/mda.t b/t/mda.t index c5b35eec..e3c5cdff 100644 --- a/t/mda.t +++ b/t/mda.t @@ -1,4 +1,4 @@ -# Copyright (C) 2014-2020 all contributors +# Copyright (C) all contributors # License: AGPL-3.0+ use strict; use warnings; @@ -97,7 +97,7 @@ EOF local $ENV{PATH} = $main_path; ok(run_script(['-mda'], undef, { 0 => \$in })); my $rev = $git->qx(qw(rev-list HEAD)); - like($rev, qr/\A[a-f0-9]{40}/, "good revision committed"); + like($rev, qr/\A[a-f0-9]{40,64}/, "good revision committed"); chomp $rev; my $cmt = $git->cat_file($rev); like($$cmt, qr/^author Me 0 \+0000\n/m,