about summary refs log tree commit homepage
path: root/t/nntp.t
diff options
context:
space:
mode:
Diffstat (limited to 't/nntp.t')
-rw-r--r--t/nntp.t8
1 files changed, 2 insertions, 6 deletions
diff --git a/t/nntp.t b/t/nntp.t
index aabfd4ff..11a175bb 100644
--- a/t/nntp.t
+++ b/t/nntp.t
@@ -3,12 +3,8 @@
 use strict;
 use warnings;
 use Test::More;
-
-foreach my $mod (qw(DBD::SQLite Data::Dumper)) {
-        eval "require $mod";
-        plan skip_all => "$mod missing for nntp.t" if $@;
-}
-
+use PublicInbox::TestCommon;
+require_mods(qw(DBD::SQLite Data::Dumper));
 use_ok 'PublicInbox::NNTP';
 use_ok 'PublicInbox::Inbox';