Skip to content

Commit

Permalink
RT #130186: $/ inside comb
Browse files Browse the repository at this point in the history
  • Loading branch information
moritz committed Oct 7, 2017
1 parent afa1f74 commit 005b4f7
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion S32-str/comb.t
Expand Up @@ -2,7 +2,7 @@ use v6;

use Test;

plan 81;
plan 82;

# L<S32::Str/Str/=item comb>

Expand Down Expand Up @@ -186,4 +186,9 @@ subtest 'edge-case combers' => {
}
}

# RT #130186
is (gather 'abc'.comb(/. { take $/.Str } <!> /)).join(','),
'a,b,c',
'$/ inside comb';

# vim: ft=perl6

0 comments on commit 005b4f7

Please sign in to comment.