This is an automatically generated mail to inform you that tests are now
available in t/spec/S06-signature/named-parameters.t
commit 7db1d626f5020c43f254f46ad09df9f62ad16eef
Author: kyle <k...@c213334d-75ef-0310-aa23-eaa082d1ae64>
Date: Fri Oct 9 17:48:00 2009 +0000
[t/spec] Test for RT #69516
git-svn-id: http://svn.pugscode.org/p...@28682
c213334d-75ef-0310-aa23-eaa082d1ae64
diff --git a/t/spec/S06-signature/named-parameters.t
b/t/spec/S06-signature/named-parameters.t
index 56934c9..f10dce5 100644
--- a/t/spec/S06-signature/named-parameters.t
+++ b/t/spec/S06-signature/named-parameters.t
@@ -1,7 +1,7 @@
use v6;
use Test;
-plan 77;
+plan 78;
# L<S06/Required parameters/"Passing a named argument that cannot be bound to
# a normal subroutine is also a fatal error.">
@@ -227,4 +227,11 @@ eval_dies_ok 'sub rt68086( $a, $a ) { }', 'two sub params
with the same name';
'.signature.perl with required parameter includes requirement' );
}
+# RT #69516
+{
+ sub rt69516( :f($foo) ) { "You passed '$foo' as 'f'" }
+ ok( &rt69516.signature.perl ~~ m/ ':f(' \s* '$foo' \s* ')' /,
+ 'parameter rename appears in .signature.perl' );
+}
+
# vim: ft=perl6