Method modifiers are implemented in Mouse
[gitmo/Mouse.git] / t / 000-recipes / 002_schwartz_tutorial.t
index c23715e..b82572b 100755 (executable)
@@ -12,16 +12,6 @@ use strict;
 use warnings;
 use Test::More;
 
-BEGIN {
-    plan skip_all => 
-            "This test requires Class::Method::Modifiers or Class::Method::Modifiers::Fast" 
-        unless eval { 
-            require Class::Method::Modifiers::Fast;
-        } or   eval {
-            require Class::Method::Modifiers;
-        };
-}
-
 # functions to capture the output of the tutorial
 our $DUMMY_STDOUT = "";
 sub dprint { $DUMMY_STDOUT .= join "", @_ };
@@ -125,7 +115,6 @@ is stdout, "Mr. Ed\n";
 $talking->color("grey");        # sets the color
 $talking->speak;                # says "Mr. Ed goes neigh"
 
-TODO: { local $TODO = "this currently fails because of a bug in Class::Method::Modifiers (see RT #42992)";
 is stdout, <<EXPECTED;
 Mr. Ed goes neigh
 EXPECTED
@@ -137,7 +126,6 @@ $baab->speak;                   # prints "Baab goes baaaah"
 is stdout, <<EXPECTED;
 Baab goes baaaah
 EXPECTED
-    }
 
 #use MouseA
 my $mickey = MouseA->new(name => 'Mickey');