diff options
author | Eric Wong <e@80x24.org> | 2020-12-31 17:47:50 -1200 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2021-01-02 09:15:10 +0000 |
commit | d893d3c028a7fc442e024e5e5b8ea737945b19b3 (patch) | |
tree | a3694a511a8a2eecd43afbb27e814c8714a56792 /t | |
parent | af2429033aef447f0149b207d87ffacfb057fc6d (diff) | |
download | public-inbox-d893d3c028a7fc442e024e5e5b8ea737945b19b3.tar.gz |
Hopefully this will make it easier to spot dependency bugs in the future.
Diffstat (limited to 't')
-rw-r--r-- | t/indexlevels-mirror.t | 4 | ||||
-rw-r--r-- | t/replace.t | 3 |
2 files changed, 2 insertions, 5 deletions
diff --git a/t/indexlevels-mirror.t b/t/indexlevels-mirror.t index a2afbd74..53826aef 100644 --- a/t/indexlevels-mirror.t +++ b/t/indexlevels-mirror.t @@ -172,9 +172,7 @@ my $import_index_incremental = sub { $import_index_incremental->($PI_TEST_VERSION, 'basic', $mime); SKIP: { - require PublicInbox::Search; - PublicInbox::Search::load_xapian() or - skip('Xapian perl binding missing', 2); + require_mods(qw(Search::Xapian), 2); foreach my $l (qw(medium full)) { $import_index_incremental->($PI_TEST_VERSION, $l, $mime); } 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 }; |