Dist-Zilla-Plugin-PodLoom
view release on metacpan or search on metacpan
"perl" : "5.008"
}
},
"test" : {
"requires" : {
"Encode" : "0",
"Test::DZil" : "0",
"Test::More" : "0.88"
},
"suggests" : {
"Test::Differences" : "0"
}
}
},
"release_status" : "stable",
"resources" : {
"repository" : {
"type" : "git",
"url" : "git://github.com/madsen/dist-zilla-plugin-podloom.git",
"web" : "https://github.com/madsen/dist-zilla-plugin-podloom"
}
t/10-podloom.t view on Meta::CPAN
use strict;
use warnings;
use 5.008;
use utf8;
use Test::More 0.88; # want done_testing
use Test::DZil qw(Builder);
use Encode qw(decode);
# Load Test::Differences, if available (better output for failures):
BEGIN {
# SUGGEST PREREQ: Test::Differences
if (eval "use Test::Differences; 1") {
# Not all versions of Test::Differences support changing the style:
eval { Test::Differences::unified_diff() }
} else {
eval '*eq_or_diff = \&is;'; # Just use "is" instead
}
} # end BEGIN
#=====================================================================
my $generateResults;
if (@ARGV and $ARGV[0] eq 'gen') {
# Just output the actual results, so they can be diffed against this file
( run in 0.729 second using v1.01-cache-2.11-cpan-39bf76dae61 )