X-Git-Url: http://www.git.stargrave.org/?a=blobdiff_plain;f=t%2Fv1-add-remove-add.t;h=4777a307848e06452cdd8bb48f505145e10d6e23;hb=dde1b083571ed893cbb1990f01f9e11ed804cba5;hp=cd6e281105c18ee9dd0b8616ea0ae1303b6ac9af;hpb=cfb8d16578e7f2f2e300f9f436205e4a8fc7f322;p=public-inbox.git
diff --git a/t/v1-add-remove-add.t b/t/v1-add-remove-add.t
index cd6e2811..4777a307 100644
--- a/t/v1-add-remove-add.t
+++ b/t/v1-add-remove-add.t
@@ -1,17 +1,17 @@
-# Copyright (C) 2018 all contributors
+# Copyright (C) 2018-2019 all contributors
# License: AGPL-3.0+
use strict;
use warnings;
use Test::More;
use PublicInbox::MIME;
use PublicInbox::Import;
-use PublicInbox::SearchIdx;
use File::Temp qw/tempdir/;
foreach my $mod (qw(DBD::SQLite Search::Xapian)) {
eval "require $mod";
plan skip_all => "$mod missing for v1-add-remove-add.t" if $@;
}
+require PublicInbox::SearchIdx;
my $mainrepo = tempdir('pi-add-remove-add-XXXXXX', TMPDIR => 1, CLEANUP => 1);
is(system(qw(git init --bare), $mainrepo), 0);
my $ibx = {