X-Git-Url: http://www.git.stargrave.org/?a=blobdiff_plain;f=t%2Fv1-add-remove-add.t;h=2867bb9414c19f76ca4d9d8eacffcc50b8708ae7;hb=6ebcec3add4d6aeff6e3b3eb019a404528c079ec;hp=aabb2fa53ef648b3e08fddd62836f3ca77c82247;hpb=3c313f9034aac96182e2efdc2f92c40803626f32;p=public-inbox.git diff --git a/t/v1-add-remove-add.t b/t/v1-add-remove-add.t index aabb2fa5..2867bb94 100644 --- a/t/v1-add-remove-add.t +++ b/t/v1-add-remove-add.t @@ -1,4 +1,4 @@ -# Copyright (C) 2018-2019 all contributors +# Copyright (C) 2018-2020 all contributors # License: AGPL-3.0+ use strict; use warnings; @@ -6,11 +6,7 @@ use Test::More; use PublicInbox::MIME; use PublicInbox::Import; use PublicInbox::TestCommon; - -foreach my $mod (qw(DBD::SQLite Search::Xapian)) { - eval "require $mod"; - plan skip_all => "$mod missing for v1-add-remove-add.t" if $@; -} +require_mods(qw(DBD::SQLite Search::Xapian)); require PublicInbox::SearchIdx; my ($inboxdir, $for_destroy) = tmpdir(); is(system(qw(git init --bare -q), $inboxdir), 0);