Skip to content

Commit

Permalink
fix skip count via #?DOES
Browse files Browse the repository at this point in the history
The skipped tests skipped the wrong number of tests because some of them are in a loop, and
we dont get the loop right either.
  • Loading branch information
FROGGS committed Dec 11, 2014
1 parent 5a1239a commit e3b109e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion S05-modifier/overlapping.t
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ It probably needs a few syntax updates to remove p5isms
=end pod

plan 22;
plan 41;

# should be: L<S05/Modifiers/With the new C<:ov> (C<:overlap>) modifier,>
# L<S05/Modifiers/match at all possible character positions>
Expand All @@ -25,6 +25,7 @@ my @expected = (
);

#?rakudo todo 'm:overlap NYI'
#?DOES 22
{
for (1..2) -> $rep {
ok($str ~~ m:i:overlap/ a .+ a /, "Repeatable overlapping match ($rep)" );
Expand All @@ -42,6 +43,7 @@ my @expected = (
}

#?rakudo skip "m:overlap// NYI"
#?DOES 8
{
ok(!( "abcdefgh" ~~ m:overlap/ a .+ a / ), 'Failed overlapping match');
ok(@$/ == 0, 'No matches');
Expand Down

0 comments on commit e3b109e

Please sign in to comment.