aboutsummaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorAmitai Schlair <schmonz-web-ikiwiki@schmonz.com>2013-05-12 19:16:50 -0400
committerAmitai Schlair <schmonz-web-ikiwiki@schmonz.com>2013-05-12 19:16:50 -0400
commitd33b31f70638025f19fdfa03a8c2e609faca792a (patch)
tree6e690b5d07442d38d7ed32581d5884af682272dd /t
parent4a108fa36b4c6a7d8436c37be55ed35675211997 (diff)
parent69525cf0fcd02874683c9e08e5c4eae82023b681 (diff)
downloadikiwiki-d33b31f70638025f19fdfa03a8c2e609faca792a.tar
ikiwiki-d33b31f70638025f19fdfa03a8c2e609faca792a.tar.gz
Merge branch 'master' into fancypodcast
Diffstat (limited to 't')
-rwxr-xr-xt/map.t9
1 files changed, 8 insertions, 1 deletions
diff --git a/t/map.t b/t/map.t
index 7f3df61f7..5d4713d6f 100755
--- a/t/map.t
+++ b/t/map.t
@@ -3,9 +3,16 @@ package IkiWiki;
use warnings;
use strict;
-use XML::Twig;
use Test::More;
+BEGIN {
+ unless (eval { require XML::Twig }) {
+ eval q{
+ use Test::More skip_all => "XML::Twig is not available"
+ }
+ }
+}
+
BEGIN { use_ok("IkiWiki"); }
BEGIN { use_ok("IkiWiki::Render"); }
BEGIN { use_ok("IkiWiki::Plugin::map"); }