]> Sergey Matveev's repositories - public-inbox.git/blobdiff - t/nntp.t
remove hard Devel::Peek dependency and lazy load for daemons
[public-inbox.git] / t / nntp.t
index c39a05fa23def914fe179e656fc770d66e8ac57b..c4b9737c7a556a9f582b0609ed4f915ac33a4c28 100644 (file)
--- a/t/nntp.t
+++ b/t/nntp.t
@@ -3,9 +3,8 @@
 use strict;
 use warnings;
 use Test::More;
-use Data::Dumper;
 
-foreach my $mod (qw(DBD::SQLite Search::Xapian PublicInbox::DS)) {
+foreach my $mod (qw(DBD::SQLite Search::Xapian Data::Dumper)) {
        eval "require $mod";
        plan skip_all => "$mod missing for nntp.t" if $@;
 }
@@ -15,7 +14,7 @@ use_ok 'PublicInbox::Inbox';
 
 {
        sub quote_str {
-               my (undef, $s) = split(/ = /, Dumper($_[0]), 2);
+               my (undef, $s) = split(/ = /, Data::Dumper::Dumper($_[0]), 2);
                $s =~ s/;\n//;
                $s;
        }