Redid conversion to Test::Fatal
[gitmo/Moose.git] / t / 100_bugs / 016_inheriting_from_roles.t
index eafc858..8d84c7c 100644 (file)
@@ -15,10 +15,9 @@ use Test::Fatal;
     package My::Class;
     use Moose;
 
-    ::like ::exception {
+    ::like( ::exception {
         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' );
 }
 
 done_testing;