diff options
author | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2006-02-22 22:09:41 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2006-02-22 22:09:41 +0000 |
commit | db95ebb4c2fb7673862097bfdbfe3b9bb6d28ea5 (patch) | |
tree | 83ee3a147bbb0f4b919454a8a89caa9b085092a4 /t/op/studytied.t | |
parent | 9b0c742609bed1c16fc6a7265de56a999a5cc889 (diff) | |
download | perl-db95ebb4c2fb7673862097bfdbfe3b9bb6d28ea5.tar.gz |
Mark some new study tests as TODO
p4raw-id: //depot/perl@27272
Diffstat (limited to 't/op/studytied.t')
-rw-r--r-- | t/op/studytied.t | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/t/op/studytied.t b/t/op/studytied.t index d50c964744..2a78c8c2e2 100644 --- a/t/op/studytied.t +++ b/t/op/studytied.t @@ -41,10 +41,16 @@ 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/ - ok( $x =~ /n/, qq{"next" matches /n/} ); + TODO: { + local $TODO = $do_study ? 'not yet fixed' : 0; + 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 - ok( $x =~ /t/, qq{"next" matches /x/} ); - is( index( $x, 't' ), 3, qq{"next" contains "x" at pos 3} ); + TODO: { + local $TODO = $do_study ? 'not yet fixed' : 0; + ok( $x =~ /t/, qq{"next" matches /t/} ); + } + is( index( $x, 't' ), 3, qq{"next" contains "t" at pos 3} ); } |