]> Sergey Matveev's repositories - public-inbox.git/commitdiff
t/replace.t: fix SKIP label for testing w/o Xapian
authorEric Wong <e@80x24.org>
Sun, 16 Jun 2019 03:22:25 +0000 (03:22 +0000)
committerEric Wong <e@80x24.org>
Sun, 16 Jun 2019 03:45:30 +0000 (03:45 +0000)
t/replace.t

index 6fae551167ac390658ddee25c0f2278b9cba3dad..b1ee15bf6788380ceef0e672d0354c0149da9865 100644 (file)
@@ -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)) {