about summary refs log tree commit homepage
path: root/t
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2020-11-27 09:52:45 +0000
committerEric Wong <e@80x24.org>2020-11-28 04:53:14 +0000
commitac43c3b17f452b02edf1cce3632a433e998de5ca (patch)
treeddb44342dd894fdfe757c816cb24615247af34bb /t
parentfb7d0067dc55fa8336dab96c07807fc7b28a1b20 (diff)
downloadpublic-inbox-ac43c3b17f452b02edf1cce3632a433e998de5ca.tar.gz
This simplifies callers and allows empty newsgroups to be
represented (the WWW UI may be insufficient there, too).
Diffstat (limited to 't')
-rw-r--r--t/msgmap.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/msgmap.t b/t/msgmap.t
index 437e106e..2d31f1de 100644
--- a/t/msgmap.t
+++ b/t/msgmap.t
@@ -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);