Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Add test for RT #125482
  • Loading branch information
usev6 committed Jun 28, 2015
1 parent 766987b commit 9a4daf7
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion S06-signature/introspection.t
Expand Up @@ -2,7 +2,7 @@ use v6;
use Test;
use lib 't/spec/packages';
use Test::Util;
plan 54;
plan 56;

# L<S06/Signature Introspection>

Expand Down Expand Up @@ -146,4 +146,13 @@ sub j(*@i) {
is_run q[sub prcl(\\) {}; &prcl.perl], { err => "", out => "" }, ".perl on unnamed \\ parameters doesn't err";
}

# RT #125482
{
sub rt125482($a;; $b) { 42 };
is &rt125482.signature.gist, '($a;; $b)',
'";;" in signature stringifies correctly using .gist';
is &rt125482.signature.perl, ':($a;; $b)',
'";;" in signature stringifies correctly using .perl';
}

# vim: ft=perl6

0 comments on commit 9a4daf7

Please sign in to comment.