Skip to content

Commit

Permalink
Add test for $#3492
Browse files Browse the repository at this point in the history
  • Loading branch information
lizmat committed Feb 20, 2020
1 parent c7ecb2d commit d0ee466
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion S06-signature/introspection.t
Expand Up @@ -4,7 +4,7 @@ use lib $?FILE.IO.parent(2).add("packages/Test-Helpers");
use Test::Util;
use Test::Idempotence;

plan 147;
plan 148;

# L<S06/Signature Introspection>

Expand Down Expand Up @@ -296,4 +296,8 @@ is :(@a = [1,2,3]).params[0].suffix, '',
is :(:@a = [1,2,3]).params[0].suffix, '',
'default values for named parameters do not give a ! suffix';

# https://github.com/rakudo/rakudo/issues/3492
is :($ is raw where 42).params.head.sigil, '$',
"an unnamed raw parameter should have the '\$' sigil";

# vim: ft=perl6

0 comments on commit d0ee466

Please sign in to comment.