about summary refs log tree commit homepage
path: root/t/v2writable.t
diff options
context:
space:
mode:
Diffstat (limited to 't/v2writable.t')
-rw-r--r--t/v2writable.t3
1 files changed, 3 insertions, 0 deletions
diff --git a/t/v2writable.t b/t/v2writable.t
index ec9f56d9..f1714175 100644
--- a/t/v2writable.t
+++ b/t/v2writable.t
@@ -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');
 }
 
 {