X-Git-Url: http://www.git.stargrave.org/?a=blobdiff_plain;f=t%2Freplace.t;h=a44560fc8dc3b806354ef5880b20f38cb0017ad6;hb=95bdac7f09c69036efed537a4d03d5bdd2ae4eb6;hp=2346c3a19d1103cbee1d00f4f5d1512bebd51c84;hpb=3c313f9034aac96182e2efdc2f92c40803626f32;p=public-inbox.git diff --git a/t/replace.t b/t/replace.t index 2346c3a1..a44560fc 100644 --- a/t/replace.t +++ b/t/replace.t @@ -1,4 +1,4 @@ -# Copyright (C) 2019 all contributors +# Copyright (C) 2019-2020 all contributors # License: AGPL-3.0+ use strict; use warnings; @@ -8,11 +8,7 @@ use PublicInbox::InboxWritable; use PublicInbox::TestCommon; use Cwd qw(abs_path); require_git(2.6); # replace is v2 only, for now... -foreach my $mod (qw(DBD::SQLite)) { - eval "require $mod"; - plan skip_all => "$mod missing for $0" if $@; -} - +require_mods(qw(DBD::SQLite)); local $ENV{HOME} = abs_path('t'); sub test_replace ($$$) {