]> Sergey Matveev's repositories - public-inbox.git/blobdiff - t/msgmap.t
mm: min/max: return 0 instead of undef
[public-inbox.git] / t / msgmap.t
index 437e106e3dcd842d4e02866166a9941cdaef061e..2d31f1de124ac99d4f542017a45c544acee9e521 100644 (file)
@@ -12,7 +12,7 @@ my $d = PublicInbox::Msgmap->new($tmpdir, 1);
 my %mid2num;
 my %num2mid;
 my @mids = qw(a@b c@d e@f g@h aa@bb aa@cc);
-is_deeply([$d->minmax], [undef,undef], "empty min max on new DB");
+is_deeply([$d->minmax], [0,0], "zero min max on new DB");
 
 foreach my $mid (@mids) {
        my $n = $d->mid_insert($mid);