This is an automatically generated mail to inform you that tests are now available in t/spec/integration/return-from-method-in-hash.t
commit 456b11e2d2a338ad59b61069680da1350ca32d91 Author: kyle <k...@c213334d-75ef-0310-aa23-eaa082d1ae64> Date: Fri Oct 23 03:36:49 2009 +0000 [t/spec/integration] Test for RT #69610 git-svn-id: http://svn.pugscode.org/p...@28889 c213334d-75ef-0310-aa23-eaa082d1ae64 diff --git a/t/spec/integration/return-from-method-in-hash.t b/t/spec/integration/return-from-method-in-hash.t new file mode 100644 index 0000000..55e20ce --- /dev/null +++ b/t/spec/integration/return-from-method-in-hash.t @@ -0,0 +1,18 @@ +use v6; +use Test; +plan *; + +# RT #69610 + +class RT69610 { + method rt69610() { + return self; + } +} + +ok( { "foo" => &RT69610::rt69610 }.<foo>( RT69610.new ) ~~ RT69610, + "Can return from method called from a hash lookup (RT 69610)" ); + +done_testing; + +# vim: ft=perl6