fix typo in docs: . instead of ;
[gitmo/Moose.git] / t / 600_todo_tests / 006_required_role_accessors.t
index 153b32a..e76c273 100644 (file)
@@ -24,7 +24,7 @@ use Test::Fatal;
     package Foo::Class;
     use Moose;
     { our $TODO; local $TODO = "role accessors don't satisfy other role requires";
-    ::ok ! ::exception { with 'Foo' }, 'requirements are satisfied properly';
+    ::is( ::exception { with 'Foo' }, undef, 'requirements are satisfied properly' );
     }
 }
 
@@ -51,7 +51,7 @@ use Test::Fatal;
     use Moose;
 
     { our $TODO; local $TODO = "role accessors don't satisfy other role requires";
-    ::ok ! ::exception { with qw(Bar Baz) }, 'requirements are satisfied properly';
+    ::is( ::exception { with qw(Bar Baz) }, undef, 'requirements are satisfied properly' );
     }
 }