diff options
author | Eric Wong <e@80x24.org> | 2020-09-15 19:51:37 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2020-09-16 04:06:10 +0000 |
commit | 82d793d96cc37d5b3cf562c7081bfacb05d1e4cd (patch) | |
tree | a66af407cfa46641a77f60631cef50a8c487bbb4 /t/replace.t | |
parent | 9cdeab04ebd95c7f778ba5f258399377b180f2cc (diff) | |
download | public-inbox-82d793d96cc37d5b3cf562c7081bfacb05d1e4cd.tar.gz |
treewide: relax allow >=40 chars for git OID
This will help with eventual git SHA-256 transitions.
Diffstat (limited to 't/replace.t')
-rw-r--r-- | t/replace.t | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/t/replace.t b/t/replace.t index 95241adf..fd8ce2c6 100644 --- a/t/replace.t +++ b/t/replace.t @@ -74,7 +74,7 @@ EOF for my $tip (@$cmts) { next if !defined $tip; $changed_epochs++; - like($tip, qr/\A[a-f0-9]{40}\z/, + like($tip, qr/\A[a-f0-9]{40,}\z/, 'replace returned current commit'); } is($changed_epochs, 1, 'only one epoch changed'); |