diff options
Diffstat (limited to 't/psgi_attach.t')
-rw-r--r-- | t/psgi_attach.t | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/t/psgi_attach.t b/t/psgi_attach.t index 5a7129f9..0c3174bc 100644 --- a/t/psgi_attach.t +++ b/t/psgi_attach.t @@ -10,10 +10,7 @@ my $maindir = "$tmpdir/main.git"; my $addr = 'test-public@example.com'; my $cfgpfx = "publicinbox.test"; my @mods = qw(HTTP::Request::Common Plack::Test URI::Escape); -foreach my $mod (@mods) { - eval "require $mod"; - plan skip_all => "$mod missing for plack.t" if $@; -} +require_mods(@mods); use_ok $_ foreach @mods; use PublicInbox::Import; use PublicInbox::Git; |