X-Git-Url: http://www.git.stargrave.org/?p=public-inbox.git;a=blobdiff_plain;f=t%2Fv2writable.t;h=9e4547ba63b7bd53968ae68a8e523788fb54c9cd;hp=2bd7a40097811ea5f79a938f581461e56a46dc1c;hb=b61b55643c617403f8d141cfe9bff22ad47913f7;hpb=22e7956e56f3a63479b894af0ee4812ff7ae025a diff --git a/t/v2writable.t b/t/v2writable.t index 2bd7a400..9e4547ba 100644 --- a/t/v2writable.t +++ b/t/v2writable.t @@ -120,7 +120,9 @@ if ('ensure git configs are correct') { $mime->header_set('References', ''); ok($im->add($mime), 'message with multiple Message-ID'); $im->done; - my ($total, undef) = $ibx->over->recent; + my $total = $ibx->over->dbh->selectrow_array(<<''); +SELECT COUNT(*) FROM over WHERE num > 0 + is($ibx->mm->num_highwater, $total, 'got expected highwater value'); my $srch = $ibx->search; my $mset1 = $srch->reopen->query('m:abcde@1', { mset => 1 });