X-Git-Url: http://www.git.stargrave.org/?a=blobdiff_plain;f=t%2Fmsgmap.t;h=f78070cc959d47db729dbd753e6534550db318aa;hb=e39585ee2bdcbeaab7b6bd33b3568021042d0879;hp=7fcd131afd8889d866844b74180b7821ec093fd5;hpb=ad6f26f3b9f0e428020d05667987556f8fcbec2f;p=public-inbox.git diff --git a/t/msgmap.t b/t/msgmap.t index 7fcd131a..f78070cc 100644 --- a/t/msgmap.t +++ b/t/msgmap.t @@ -1,15 +1,10 @@ -# Copyright (C) 2015-2019 all contributors +# Copyright (C) 2015-2020 all contributors # License: AGPL-3.0+ use strict; use warnings; use Test::More; -require './t/common.perl'; - -foreach my $mod (qw(DBD::SQLite)) { - eval "require $mod"; - plan skip_all => "$mod missing for nntpd.t" if $@; -} - +use PublicInbox::TestCommon; +require_mods('DBD::SQLite'); use_ok 'PublicInbox::Msgmap'; my ($tmpdir, $for_destroy) = tmpdir(); my $d = PublicInbox::Msgmap->new($tmpdir, 1);