This is an automatically generated mail to inform you that tests are now
available in t/spec/S06-signature/slurpy-params.t
commit 1c854b7ffee2a159454af74d7adbf95de4dd7170
Author: kyle <k...@c213334d-75ef-0310-aa23-eaa082d1ae64>
Date: Sun Oct 11 03:33:41 2009 +0000
[t/spec] Test for RT #65324
git-svn-id: http://svn.pugscode.org/p...@28747
c213334d-75ef-0310-aa23-eaa082d1ae64
diff --git a/t/spec/S06-signature/slurpy-params.t
b/t/spec/S06-signature/slurpy-params.t
index aaed845..b6f07b9 100644
--- a/t/spec/S06-signature/slurpy-params.t
+++ b/t/spec/S06-signature/slurpy-params.t
@@ -3,7 +3,7 @@ use Test;
# L<S06/List parameters/Slurpy parameters>
-plan 60;
+plan *;
sub xelems(*...@args) { @args.elems }
sub xjoin(*...@args) { @args.join('|') }
@@ -289,4 +289,10 @@ These tests are the testing for "List parameters" section
of Synopsis 06
is $count, 1, 'Any slurpy param doesnt autothread';
}
+#?rakudo todo 'RT 65324'
+eval_dies_ok 'sub rt65324(*...@x, $oops) { say $oops }',
+ "Can't put required parameter after variadic parameters";
+
+done_testing;
+
# vim: ft=perl6