X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=gitmo%2FMouse.git;a=blobdiff_plain;f=t%2F000_recipes%2Fmoose_cookbook_roles_recipe1.t;fp=t%2F000_recipes%2Fmoose_cookbook_roles_recipe1.t;h=c11d186ce430e9fe0b911ddb3eb1bb272c94e1ac;hp=16f67755c987654fa773765453008d708d825ad6;hb=d8ac424a86a0d9703f3e0502c8935b4851bf29af;hpb=9e69967c28f2cd597d23572220fe675570ec1821 diff --git a/t/000_recipes/moose_cookbook_roles_recipe1.t b/t/000_recipes/moose_cookbook_roles_recipe1.t index 16f6775..c11d186 100644 --- a/t/000_recipes/moose_cookbook_roles_recipe1.t +++ b/t/000_recipes/moose_cookbook_roles_recipe1.t @@ -85,11 +85,8 @@ ok( US::Currency->does('Printable'), '... US::Currency does Printable' ); my $hundred = US::Currency->new( amount => 100.00 ); isa_ok( $hundred, 'US::Currency' ); -{ -local $TODO = 'UNIVERSAL::DOES is not supported'; -ok( eval{ $hundred->DOES("US::Currency") }, "UNIVERSAL::DOES for class" ); -ok( eval{ $hundred->DOES("Comparable") }, "UNIVERSAL::DOES for role" ); -} +ok( $hundred->DOES("US::Currency"), "UNIVERSAL::DOES for class" ); +ok( $hundred->DOES("Comparable"), "UNIVERSAL::DOES for role" ); can_ok( $hundred, 'amount' ); is( $hundred->amount, 100, '... got the right amount' );