Add more words to the spelling whitelist
[gitmo/Moose.git] / t / moose_util / moose_util_does_role.t
index 2505c9d..1be221d 100644 (file)
@@ -5,9 +5,7 @@ use warnings;
 
 use Test::More;
 
-BEGIN {
-    use_ok('Moose::Util', ':all');
-}
+use Moose::Util ':all';
 
 {
   package Foo;
@@ -85,14 +83,12 @@ ok(!does_role('Quux', 'Foo'), '... Quux doesnt do Foo (does not die tho)');
 
 ok(does_role('DoesMethod', 'Something::Else'), '... can override the does method');
 
-# TODO: make the below work, maybe?
-
 # Self
 
-#ok(does_role('Foo', 'Foo'), '... Foo does do Foo');
+ok(does_role('Foo', 'Foo'), '... Foo does do Foo');
 
 # sub-Roles
 
-#ok(does_role('Foo::Foo', 'Foo'), '... Foo::Foo does do Foo');
+ok(does_role('Foo::Foo', 'Foo'), '... Foo::Foo does do Foo');
 
 done_testing;