about summary refs log tree commit homepage
path: root/t/replace.t
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2020-12-31 17:47:50 -1200
committerEric Wong <e@80x24.org>2021-01-02 09:15:10 +0000
commitd893d3c028a7fc442e024e5e5b8ea737945b19b3 (patch)
treea3694a511a8a2eecd43afbb27e814c8714a56792 /t/replace.t
parentaf2429033aef447f0149b207d87ffacfb057fc6d (diff)
downloadpublic-inbox-d893d3c028a7fc442e024e5e5b8ea737945b19b3.tar.gz
Hopefully this will make it easier to spot dependency
bugs in the future.
Diffstat (limited to 't/replace.t')
-rw-r--r--t/replace.t3
1 files changed, 1 insertions, 2 deletions
diff --git a/t/replace.t b/t/replace.t
index 7135c863..51bdb964 100644
--- a/t/replace.t
+++ b/t/replace.t
@@ -186,8 +186,7 @@ test_replace(2, 'basic', $opt = { %$opt, post => \&pad_msgs });
 test_replace(2, 'basic', $opt = { %$opt, rotate_bytes => 1 });
 
 SKIP: {
-        require PublicInbox::Search;
-        PublicInbox::Search::load_xapian() or skip 'Search::Xapian missing', 8;
+        require_mods(qw(Search::Xapian), 8);
         for my $l (qw(medium)) {
                 test_replace(2, $l, {});
                 $opt = { pre => \&pad_msgs };