This is an automatically generated mail to inform you that tests are now available in t/spec/S06-advanced_subroutine_features/return.t
commit b1229416777475b975a59f8a5f10b6aeddc6a6dc Author: kyle <k...@c213334d-75ef-0310-aa23-eaa082d1ae64> Date: Tue Jul 28 02:55:40 2009 +0000 [t/spec] Test for RT #63912 git-svn-id: http://svn.pugscode.org/p...@27765 c213334d-75ef-0310-aa23-eaa082d1ae64 diff --git a/t/spec/S06-advanced_subroutine_features/return.t b/t/spec/S06-advanced_subroutine_features/return.t index ac69114..a7e0f67 100644 --- a/t/spec/S06-advanced_subroutine_features/return.t +++ b/t/spec/S06-advanced_subroutine_features/return.t @@ -15,7 +15,7 @@ See also t/blocks/return.t, which overlaps in scope. # reference for the spec for 'return', but I couldn't find # one either. -plan 76; +plan 77; # These test the returning of values from a subroutine. # We test each data-type with 4 different styles of return. @@ -321,4 +321,11 @@ is Foo::official(), 44, is $x, 1, 'get right value from sub with double ;'; } +# RT #63912 +{ + sub rt63912 { return 1, 2; } + #?rakudo todo 'return wants just one argument?' + lives_ok { rt63912() }, 'can call sub that returns two things (no parens)'; +} + # vim: ft=perl6