Skip to content

Commit

Permalink
Switch back to "use Test" and plain prints instead of diag()
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthias Eble committed Jun 16, 2009
1 parent 3ea9549 commit 013f0a1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions NPTest.pm
Expand Up @@ -18,7 +18,7 @@ use File::Basename;
use IO::File; use IO::File;
use Data::Dumper; use Data::Dumper;


use Test::More; use Test;


use vars qw($VERSION); use vars qw($VERSION);
$VERSION = "1556."; # must be all one line, for MakeMaker $VERSION = "1556."; # must be all one line, for MakeMaker
Expand Down Expand Up @@ -628,9 +628,9 @@ sub testCmd {
my ($pkg, $file, $line) = caller(0); my ($pkg, $file, $line) = caller(0);
print "Testing: $command", $/; print "Testing: $command", $/;
if ($ENV{'NPTEST_DEBUG'}) { if ($ENV{'NPTEST_DEBUG'}) {
diag("testCmd: Called from line $line in $file", $/); print "testCmd: Called from line $line in $file", $/;
diag("Output: ", $object->output, $/); print "Output: ", $object->output, $/;
diag("Return code: ", $object->return_code, $/); print "Return code: ", $object->return_code, $/;
} }


return $object; return $object;
Expand Down

0 comments on commit 013f0a1

Please sign in to comment.