my $instance = Class->new();
isa_ok( $instance, 'Class' );
-ok ! exception {
- $instance->foo('bar');
- is( $instance->foo(), 'bar' );
-},
-'used class attribute from parameterized role';
+is(
+ exception {
+ $instance->foo('bar');
+ is( $instance->foo(), 'bar' );
+ },
+ undef,
+ 'used class attribute from parameterized role'
+);
done_testing();