Skip to content

Commit

Permalink
[t/spec] get rid of some passing TODO tests by skipping them until we…
Browse files Browse the repository at this point in the history
… get

clarification from p6l


git-svn-id: http://svn.pugscode.org/pugs@24953 c213334d-75ef-0310-aa23-eaa082d1ae64
  • Loading branch information
moritz committed Jan 18, 2009
1 parent 9cc732a commit ca224d0
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions S05-substitution/subst.t
Expand Up @@ -42,7 +42,7 @@ is '12'.subst(/(.)(.)/,{$()*2}),'24', '.. and do nifty things in closures';
#?rakudo skip ':x(*) in .subst'
is 'a b c d'.subst(/\w/, 'x', :x(*)), 'x x x x', '.subst and :x(*)';

#?rakudo 5 todo 'RT #61206'
#?rakudo 5 skip 'RT #61206'
is 'a b c d'.subst(/\w/, 'x', :x(0..1)), 'x b c d', '.subst and :x(0..1)';
is 'a b c d'.subst(/\w/, 'x', :x(1..3)), 'x x x d', '.subst and :x(0..3)';
is 'a b c d'.subst(/\w/, 'x', :x(3..5)), 'x x x x', '.subst and :x(3..5)';
Expand All @@ -56,12 +56,10 @@ is '12'.subst(/(.)(.)/,{$()*2}),'24', '.. and do nifty things in closures';
is 'a a a a'.subst('a', 'x', :x(2)), 'x x a a', '.subst (str pattern) and :x(2)';
is 'a a a a'.subst('a', 'x', :x(3)), 'x x x a', '.subst (str pattern) and :x(3)';
is 'a a a a'.subst('a', 'x', :x(4)), 'x x x x', '.subst (str pattern) and :x(4)';
#?rakudo todo 'RT #61206'
#?rakudo 7 skip 'RT #61206'
is 'a a a a'.subst('a', 'x', :x(5)), 'a a a a', '.subst (str pattern) and :x(5)';
#?rakudo skip ':x(*) in .subst'
is 'a a a a'.subst('a', 'x', :x(*)), 'x x x x', '.subst (str pattern) and :x(*)';

#?rakudo 5 todo 'RT #61206'
is 'a a a a'.subst('a', 'x', :x(0..1)), 'x a a a', '.subst (str pattern) and :x(0..1)';
is 'a a a a'.subst('a', 'x', :x(1..3)), 'x x x a', '.subst (str pattern) and :x(0..3)';
is 'a a a a'.subst('a', 'x', :x(3..5)), 'x x x x', '.subst (str pattern) and :x(3..5)';
Expand Down Expand Up @@ -94,7 +92,7 @@ is '12'.subst(/(.)(.)/,{$()*2}),'24', '.. and do nifty things in closures';
is 'a b c d'.subst(/\w/, 'x', :nth(3), :g), 'a b x d', '.subst and :g, :nth(3)';
}

#?rakudo todo 'RT #61130'
#?rakudo skip 'RT #61130'
{
# combining :nth with :x
is 'a b c d e f g h'.subst(/\w/, 'x', :nth(1), :x(3)),
Expand Down

0 comments on commit ca224d0

Please sign in to comment.