X-Git-Url: http://www.git.stargrave.org/?a=blobdiff_plain;f=t%2Fnntp.t;h=f3a9c7d81e802a6b69c0cc32b80a1f6bf6243df4;hb=b41c19abcf0b0ac8a5f55678bfb0058ad50b3179;hp=6df7db89b1b4a49e30b20e5bcc1d90e82ca1dea0;hpb=dd7049951c052c541efe3d1bb6de8950512027a5;p=public-inbox.git
diff --git a/t/nntp.t b/t/nntp.t
index 6df7db89..f3a9c7d8 100644
--- a/t/nntp.t
+++ b/t/nntp.t
@@ -1,11 +1,10 @@
-# Copyright (C) 2015-2018 all contributors
+# Copyright (C) 2015-2019 all contributors
# License: AGPL-3.0+
use strict;
use warnings;
use Test::More;
-use Data::Dumper;
-foreach my $mod (qw(DBD::SQLite Search::Xapian Danga::Socket)) {
+foreach my $mod (qw(DBD::SQLite 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;
}