diff options
Diffstat (limited to 't/v2writable.t')
-rw-r--r-- | t/v2writable.t | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/t/v2writable.t b/t/v2writable.t index 1de8c032..2f71fafa 100644 --- a/t/v2writable.t +++ b/t/v2writable.t @@ -255,8 +255,8 @@ EOF { ok($im->add($mime), 'add message to be purged'); local $SIG{__WARN__} = sub {}; - ok(my $cmts = $im->purge($mime), 'purged message'); - like($cmts->[0], qr/\A[a-f0-9]{40}\z/, 'purge returned current commit'); + ok(my $cmt = $im->purge($mime), 'purged message'); + like($cmt->[0], qr/\A[a-f0-9]{40,}\z/, 'purge returned current commit'); $im->done; # again |