about summary refs log tree commit homepage
path: root/t/search-thr-index.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/search-thr-index.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/search-thr-index.t')
-rw-r--r--t/search-thr-index.t5
1 files changed, 3 insertions, 2 deletions
diff --git a/t/search-thr-index.t b/t/search-thr-index.t
index ed3e4e76..848dc564 100644
--- a/t/search-thr-index.t
+++ b/t/search-thr-index.t
@@ -7,8 +7,9 @@ use Test::More;
 use File::Temp qw/tempdir/;
 use PublicInbox::MID qw(mids);
 use Email::MIME;
-eval { require PublicInbox::SearchIdx; };
-plan skip_all => "Xapian missing for search" if $@;
+eval { require Search::Xapian };
+plan skip_all => "Search::Xapian missing for search" if $@;
+require PublicInbox::SearchIdx;
 my $tmpdir = tempdir('pi-search-thr-index.XXXXXX', TMPDIR => 1, CLEANUP => 1);
 my $git_dir = "$tmpdir/a.git";