-
-NEXT
-
-- The test suite now uses Test::Fatal instead of Test::Exception.
-
0.20 2010-10-07
- A test file tried to load MooseX::Role::Parameterized, which was not listed
use warnings;
use Test::More;
-use Test::Fatal;
+use Test::Exception;
use Test::Requires {
'MooseX::Role::Parameterized' => '0',
my $instance = Class->new();
isa_ok( $instance, 'Class' );
-ok ! exception {
+lives_and {
$instance->foo('bar');
is( $instance->foo(), 'bar' );
-},
+}
'used class attribute from parameterized role';
done_testing();