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

js pushed a commit to annotated tag v0.09
in repository libdancer-plugin-rest-perl.

commit b89d913f3ad42531a87539050bbe751749c4253d
Author: Yanick Champoux <yan...@babyl.dyndns.org>
Date:   Tue Mar 11 22:37:33 2014 -0400

    skip test if XML::Simple is not present
---
 Changes                | 1 +
 t/default-serializer.t | 8 +++++++-
 2 files changed, 8 insertions(+), 1 deletion(-)

diff --git a/Changes b/Changes
index a0e4bb3..81729d9 100644
--- a/Changes
+++ b/Changes
@@ -4,6 +4,7 @@ Revision history for {{$DIST}}
  [API CHANGES]
 
  [BUG FIXES]
+ - Skip test if XML::Simple is not installed.
 
  [DOCUMENTATION]
 
diff --git a/t/default-serializer.t b/t/default-serializer.t
index 8e4e60b..7e13665 100644
--- a/t/default-serializer.t
+++ b/t/default-serializer.t
@@ -1,6 +1,13 @@
 use strict;
 use warnings;
 
+use Test::More;
+
+plan skip_all => 'XML::Simple required'
+    unless eval "use XML::Simple; 1";
+
+plan tests => 3;
+
 {
     use Dancer ':tests';
     use Dancer::Plugin::REST;
@@ -18,7 +25,6 @@ use warnings;
 
 }
 
-use Test::More tests => 3;
 use Dancer::Test;
 
 response_content_like '/foo' => qr/<data/, "default serializer is XML";

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/libdancer-plugin-rest-perl.git

_______________________________________________
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits

Reply via email to