Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[split-simple.t] Test for RT 112868
  • Loading branch information
kyleha committed May 14, 2012
1 parent 03de2f7 commit 8ba936c
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion S32-str/split-simple.t
Expand Up @@ -2,7 +2,7 @@ use v6;
use Test;

# L<S32::Str/Str/"=item split">
plan 47;
plan 49;

=begin description
Expand Down Expand Up @@ -104,6 +104,14 @@ ok (split('', '')).elems == 0, q{''.split('') returns empty list};
'split(:all) and trailing delimiter (values)';
}

# 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('')>;
}

done;

# vim: ft=perl6

0 comments on commit 8ba936c

Please sign in to comment.