user/dev discussion of public-inbox itself
 help / color / mirror / code / Atom feed
Search results ordered by [date|relevance]  view[summary|nested|Atom feed]
thread overview below | download mbox.gz: |
* [PATCH 1/3] t/: remove unnecessary Dumper use
  @ 2016-02-28 11:28  7% ` Eric Wong
  0 siblings, 0 replies; 1+ results
From: Eric Wong @ 2016-02-28 11:28 UTC (permalink / raw)
  To: meta

No point in loading Data::Dumper if we do not use it
in the tests.
---
 t/nntpd.t  | 1 -
 t/search.t | 1 -
 2 files changed, 2 deletions(-)

diff --git a/t/nntpd.t b/t/nntpd.t
index f6f71a2..d8c2e7b 100644
--- a/t/nntpd.t
+++ b/t/nntpd.t
@@ -17,7 +17,6 @@ use Socket qw(SO_KEEPALIVE IPPROTO_TCP TCP_NODELAY);
 use File::Temp qw/tempdir/;
 use Net::NNTP;
 use IPC::Run qw(run);
-use Data::Dumper;
 
 my $tmpdir = tempdir(CLEANUP => 1);
 my $home = "$tmpdir/pi-home";
diff --git a/t/search.t b/t/search.t
index cd7048f..3ec3f30 100644
--- a/t/search.t
+++ b/t/search.t
@@ -7,7 +7,6 @@ eval { require PublicInbox::SearchIdx; };
 plan skip_all => "Xapian missing for search" if $@;
 use File::Temp qw/tempdir/;
 use Email::MIME;
-use Data::Dumper;
 my $tmpdir = tempdir(CLEANUP => 1);
 my $git_dir = "$tmpdir/a.git";
 my ($root_id, $last_id);
-- 
EW


^ permalink raw reply related	[relevance 7%]

Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2016-02-28 11:28     [PATCH 0/3] another round of minor updates Eric Wong
2016-02-28 11:28  7% ` [PATCH 1/3] t/: remove unnecessary Dumper use Eric Wong

Code repositories for project(s) associated with this public inbox

	https://80x24.org/public-inbox.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).