This is an automatically generated mail to inform you that tests are now
available in t/spec/S06-signature/named-parameters.t
commit 5ca328e331568e1e30309e8ecef1151fecba019b
Author: kyle <k...@c213334d-75ef-0310-aa23-eaa082d1ae64>
Date: Fri Oct 9 16:51:50 2009 +0000
[t/spec] Test for RT #68524
git-svn-id: http://svn.pugscode.org/p...@28678
c213334d-75ef-0310-aa23-eaa082d1ae64
diff --git a/t/spec/S06-signature/named-parameters.t
b/t/spec/S06-signature/named-parameters.t
index 83efe31..8fff210 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 76;
+plan 77;
# L<S06/Required parameters/"Passing a named argument that cannot be bound to
# a normal subroutine is also a fatal error.">
@@ -220,4 +220,12 @@ ok(%fellowship<dwarf> ~~ undef, "dwarf arg was not given");
#?rakudo todo 'RT #68086'
eval_dies_ok 'sub rt68086( $a, $a ) { }', 'two sub params with the same name';
+# RT #68524
+#?rakudo todo 'RT 68524'
+{
+ sub rt68524( :$a! ) {}
+ ok( &rt68524.signature.perl ~~ m/\!/,
+ '.signature.perl with required parameter includes requirement' );
+}
+
# vim: ft=perl6