From 3c076ce7bb6ac638c49dc2fd533d2193b2a8dad2 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Sun, 16 Jun 2019 03:22:25 +0000 Subject: t/replace.t: fix SKIP label for testing w/o Xapian --- t/replace.t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/t/replace.t b/t/replace.t index 6fae5511..b1ee15bf 100644 --- a/t/replace.t +++ b/t/replace.t @@ -184,7 +184,7 @@ test_replace(2, 'basic', $opt); test_replace(2, 'basic', $opt = { %$opt, post => *pad_msgs }); test_replace(2, 'basic', $opt = { %$opt, rotate_bytes => 1 }); -SKIP: if ('test xapian') { +SKIP: { require PublicInbox::Search; PublicInbox::Search::load_xapian() or skip 'Search::Xapian missing', 8; for my $l (qw(medium)) { -- cgit v1.2.3-24-ge0c7