Storing the length of all the overloading names saves a strlen() in a
[p5sagit/p5-mst-13.2.git] / t / op / studytied.t
index 2a78c8c..f56cc17 100644 (file)
@@ -41,16 +41,10 @@ for my $do_study qw( 0 1 ) {
     is( index( $x, 'f' ), -1,   qq{"next" doesn't contain "f"} );
 
     # Subsequent references to $x are "next", so should match /n/
-    TODO: {
-       local $TODO = $do_study ? 'not yet fixed' : 0;
-       ok( $x =~ /n/,              qq{"next" matches /n/} );
-    }
+    ok( $x =~ /n/,              qq{"next" matches /n/} );
     is( index( $x, 'n' ), 0,    qq{"next" contains "n" at pos 0} );
 
     # The letter "t" is in both, but in different positions
-    TODO: {
-       local $TODO = $do_study ? 'not yet fixed' : 0;
-       ok( $x =~ /t/,              qq{"next" matches /t/} );
-    }
+    ok( $x =~ /t/,              qq{"next" matches /t/} );
     is( index( $x, 't' ), 3,    qq{"next" contains "t" at pos 3} );
 }