CPAN-Changes-Group-Dependencies-Details
view release on metacpan or search on metacpan
use strict;
use warnings;
use Test::More tests => 3;
# ABSTRACT: Expected failures
use CPAN::Changes::Group::Dependencies::Details;
sub is_fail($$) {
my ( $reason, $sub ) = @_;
local $@;
my $failed = 1;
eval {
$sub->();
undef $failed;
};
if ($failed) {
@_ = ( "Got expected failure: " . $reason );
goto &pass;
( run in 0.332 second using v1.01-cache-2.11-cpan-65fba6d93b7 )