]> Sergey Matveev's repositories - public-inbox.git/blobdiff - t/v2writable.t
v2writable: ->purge returns undef on no-op
[public-inbox.git] / t / v2writable.t
index ec9f56d91657dbc50d5f97d72874075f8f6b4d3f..f171417513440fb578382a1471ba3e13544af26c 100644 (file)
@@ -247,6 +247,9 @@ EOF
        ok(my $cmts = $im->purge($mime), 'purged message');
        like($cmts->[0], qr/\A[a-f0-9]{40}\z/, 'purge returned current commit');
        $im->done;
+
+       # again
+       is($im->purge($mime), undef, 'no-op returns undef');
 }
 
 {