[libcatmandu-perl] 08/101: make data command redundant
Jonas Smedegaard
dr at jones.dk
Tue Feb 23 13:43:48 UTC 2016
This is an automated email from the git hooks/post-receive script.
js pushed a commit to branch master
in repository libcatmandu-perl.
commit d65d689a17dffbd895b5b3b536ff885b6766d4de
Author: Nicolas Steenlant <nicolas.steenlant at ugent.be>
Date: Thu Dec 10 14:58:28 2015 +0100
make data command redundant
---
t/Catmandu-Cmd-export.t | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/t/Catmandu-Cmd-export.t b/t/Catmandu-Cmd-export.t
index bd9f81a..6e37a59 100644
--- a/t/Catmandu-Cmd-export.t
+++ b/t/Catmandu-Cmd-export.t
@@ -17,11 +17,11 @@ require_ok $pkg;
use Catmandu::CLI;
-my $result = test_app(qq|Catmandu::CLI| => [ qw(export -v test to JSON --fix t/myfixes.fix --limit 1) ]);
+my $result = test_app(qq|Catmandu::CLI| => [ qw(export -v test to JSON --fix t/myfixes.fix --total 1) ]);
my @lines = split(/\n/,$result->stdout);
-ok @lines == 1 , 'test limit';
+ok @lines == 1 , 'test total';
my $perl = decode_json($lines[0]);
@@ -33,4 +33,4 @@ is $result->error, undef, 'threw no exceptions' ;
## Next test can fail on buggy Perl installations
#is $result->stderr, '', 'nothing sent to sderr' ;
-done_testing 7;
+done_testing;
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libcatmandu-perl.git
More information about the Pkg-perl-cvs-commits
mailing list