about summary refs log tree commit homepage
diff options
context:
space:
mode:
-rw-r--r--t/nntp.t5
1 files changed, 2 insertions, 3 deletions
diff --git a/t/nntp.t b/t/nntp.t
index 47b14422..c4b9737c 100644
--- 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)) {
+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;
         }