[libcatmandu-mab2-perl] 19/35: fix tests

Jonas Smedegaard dr at jones.dk
Fri Oct 27 17:54:42 UTC 2017


This is an automated email from the git hooks/post-receive script.

js pushed a commit to annotated tag debian/0.21-1
in repository libcatmandu-mab2-perl.

commit b6d5719f206ea668949c142e728935a80cb903b2
Author: Johann Rolschewski <jorol at cpan.org>
Date:   Thu Oct 12 14:45:59 2017 +0200

    fix tests
---
 t/00-load.t | 2 +-
 t/06-sru.t  | 6 ++++--
 2 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/t/00-load.t b/t/00-load.t
index a56902a..b6e828d 100644
--- a/t/00-load.t
+++ b/t/00-load.t
@@ -23,4 +23,4 @@ require_ok 'MAB2::Parser::XML';
 require_ok 'MAB2::Writer::RAW';
 require_ok 'MAB2::Writer::XML';
 
-done_testing 14;
\ No newline at end of file
+done_testing;
\ No newline at end of file
diff --git a/t/06-sru.t b/t/06-sru.t
index f32dd4b..a8e88ea 100644
--- a/t/06-sru.t
+++ b/t/06-sru.t
@@ -4,9 +4,11 @@ use Test::More;
 use Test::Exception;
 use Catmandu::Importer::SRU;
 use Catmandu::Importer::SRU::Parser::mabxml;
-require 't/lib/MockFurl.pm';
 
-use Data::Dumper;
+use FindBin;
+use lib "$FindBin::Bin/lib";
+use MockFurl;
+
 
 my %attrs = (
     base => 'http://www.unicat.be/sru',

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libcatmandu-mab2-perl.git



More information about the Pkg-perl-cvs-commits mailing list