Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Remove ~6 year old cruft
  • Loading branch information
lizmat committed Nov 7, 2013
1 parent ff66768 commit 8b95783
Showing 1 changed file with 1 addition and 21 deletions.
22 changes: 1 addition & 21 deletions S32-str/split.t
Expand Up @@ -2,28 +2,10 @@ use v6;

use Test;

# L<S32::Str/Str/"=item split">
# L<S32-setting-library/Str"=item split">

# XXX - this needs to be updated when Str.split(Str) works again
# this test really wants is_deeply()
# and got it, except for a couple of cases that fail because of Match objects
# being returned -- Aankhen
plan 37;

# split on an empty string

my %ords = (
1 => 'first',
2 => 'second',
3 => 'third',
4 => 'fourth',
5 => 'fifth',
6 => 'sixth',
7 => 'seventh',
8 => 'eighth',
9 => 'ninth',
);

#?niecza todo "split on empty string has leading empty elements"
is split("", "forty-two").join(','),
<f o r t y - t w o>.join(','),
Expand Down Expand Up @@ -176,6 +158,4 @@ is "a.b".split(/\./).join(','), <a b>.join(','),
'zero-width delimiter (<.wb>) (2)';
}

done;

# vim: ft=perl6

0 comments on commit 8b95783

Please sign in to comment.