{
package My::Class;
use Moose;
-
+
::throws_ok {
extends 'My::Role';
- } qr/You cannot inherit from a Moose Role \(My\:\:Role\)/,
- '... this croaks correctly';
+ } qr/You cannot inherit from a Moose Role \(My\:\:Role\)/,
+ 'this croaks correctly';
}