X-Git-Url: http://www.git.stargrave.org/?a=blobdiff_plain;f=t%2Freplace.t;h=51bdb964dd3a05ca51578514d1de831b660e7b4b;hb=d893d3c028a7fc442e024e5e5b8ea737945b19b3;hp=7135c863d3287980f2254c3f762893e4d62376f2;hpb=af2429033aef447f0149b207d87ffacfb057fc6d;p=public-inbox.git 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 };