Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
added test for RT #83674
  • Loading branch information
Jimmy Zhuo committed Feb 23, 2011
1 parent a3ccf3d commit ff620eb
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions S05-transliteration/trans.t
Expand Up @@ -254,4 +254,10 @@ is('ababab'.trans([/ab/, 'aba', 'bab', /baba/] =>
'23',
'longest token still holds, even between constant strings and regexes');

# RT #83674
{
lives_ok { my @a = 1..2; @a>>.trans((1..2) => (14..15,1..2)); },
'trans works with Cool signature';
}

# vim: ft=perl6

0 comments on commit ff620eb

Please sign in to comment.