about summary refs log tree commit homepage
path: root/t/v1reindex.t
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2019-05-15 01:18:08 +0000
committerEric Wong <e@80x24.org>2019-05-15 01:18:54 +0000
commit0b1de991a099b5e8b9a9e3e85b5eaaacc9362dbb (patch)
treea9295edad8c28aec3f87fc35c9142d87d4fea39e /t/v1reindex.t
parent70caf43a131fc5bdf7104f82f2acee9d5353d6a8 (diff)
downloadpublic-inbox-0b1de991a099b5e8b9a9e3e85b5eaaacc9362dbb.tar.gz
More tests work without Search::Xapian, now.
Usability issues still need to be fixed
Diffstat (limited to 't/v1reindex.t')
-rw-r--r--t/v1reindex.t3
1 files changed, 1 insertions, 2 deletions
diff --git a/t/v1reindex.t b/t/v1reindex.t
index 33a36fad..402ecd78 100644
--- a/t/v1reindex.t
+++ b/t/v1reindex.t
@@ -209,8 +209,7 @@ ok(!-d $xap, 'Xapian directories removed again');
         delete $ibx->{mm};
         is_deeply([ $ibx->mm->minmax ], $minmax, 'minmax unchanged');
         is($ibx->mm->num_highwater, 10, 'num_highwater as expected');
-        my $mset = $ibx->search->reopen->query('hello world', {mset=>1});
-        is($mset->size, 0, "no Xapian search results");
+        isnt($ibx->search, 'no search for basic');
 
         my ($min, $max) = $ibx->mm->minmax;
         is_deeply($ibx->mm->msg_range(\$min, $max), $msgmap, 'msgmap unchanged');