X-Git-Url: http://www.git.stargrave.org/?a=blobdiff_plain;f=t%2Fmsgmap.t;h=dce98f46b6f57e48a90653ceba659a3665db247d;hb=69329215485cf2ab9d8cd1fa7faf65d8ec42dc0b;hp=a5232fab6cbc06b75e0aeb3df541f2d8a43c3285;hpb=1e57ecc0dcbc64a6829a93dc81cfb6ab6f0ce71b;p=public-inbox.git
diff --git a/t/msgmap.t b/t/msgmap.t
index a5232fab..dce98f46 100644
--- a/t/msgmap.t
+++ b/t/msgmap.t
@@ -1,5 +1,5 @@
-# Copyright (C) 2015 all contributors
-# License: AGPLv3 or later (https://www.gnu.org/licenses/agpl-3.0.txt)
+# Copyright (C) 2015-2018 all contributors
+# License: AGPL-3.0+
use strict;
use warnings;
use Test::More;
@@ -65,4 +65,8 @@ my $orig = $d->mid_insert('spam@1');
$d->mid_delete('spam@1');
is($d->mid_insert('spam@2'), 1 + $orig, "last number not recycled");
+my $tmp = $d->tmp_clone;
+is_deeply([$d->minmax], [$tmp->minmax], 'Cloned temporary DB matches');
+ok($tmp->mid_delete('spam@2'), 'temporary DB is writable');
+
done_testing();