Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Add test for overlapping needles
  • Loading branch information
lizmat committed Feb 20, 2016
1 parent 653b200 commit 10b2d6b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion S32-str/split.t
Expand Up @@ -4,7 +4,7 @@ use Test;

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

plan 57;
plan 58;

# Legend:
# r result
Expand Down Expand Up @@ -499,4 +499,7 @@ is "a.b".split(/\./).join(','), <a b>.join(','),
'clashing named parameters';
}

is "aaaaabbbbb".split(<aaa aa bb bbb>,:v), " aaa aa bbb bb ",
"test overlapping needles";

# vim: ft=perl6

0 comments on commit 10b2d6b

Please sign in to comment.