From: Joey Hess Date: Sat, 25 Jan 2014 21:08:22 +0000 (-0400) Subject: avoid running this test if File:MimeInfo is not installed X-Git-Tag: debian/3.20140125~1 X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/commitdiff_plain/90ebe2e57dcd74e0e63a494b48adeddb7840bc20?ds=inline avoid running this test if File:MimeInfo is not installed it's needed to get mime types in the feed --- diff --git a/t/podcast.t b/t/podcast.t index 1052aea70..f036c3113 100755 --- a/t/podcast.t +++ b/t/podcast.t @@ -3,10 +3,10 @@ use warnings; use strict; BEGIN { - eval q{use XML::Feed; use HTML::Parser; use HTML::LinkExtor}; + eval q{use XML::Feed; use HTML::Parser; use HTML::LinkExtor; use File::MimeInfo}; if ($@) { eval q{use Test::More skip_all => - "XML::Feed and/or HTML::Parser not available"}; + "XML::Feed and/or HTML::Parser or File::MimeInfo not available"}; } else { eval q{use Test::More tests => 136};