Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[split-simple.t] Change test for RT 112868
  • Loading branch information
kyleha committed May 14, 2012
1 parent 4e65cd6 commit fead744
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions S32-str/split-simple.t
Expand Up @@ -105,11 +105,12 @@ ok (split('', '')).elems == 0, q{''.split('') returns empty list};
}

# RT 112868
#?rakudo todo 'RT 112868'
{
my @rt112868 = 'abc'.split('');
is @rt112868.elems, 4, q<Right element count for .split('')>;
is @rt112868.join('|'), '|a|b|c', q<values match for .split('')>;
my $rt112868 = 'splitting on empty';
ok $rt112868.split('').elems > 0, q<.split('') does something>;
#?rakudo todo 'RT 112868'
is $rt112868.split(''), $rt112868.split(/''/),
q<.split('') does the same thing as .split(/''/) (RT 112868)>;
}

done;
Expand Down

0 comments on commit fead744

Please sign in to comment.