This is an automatically generated mail to inform you that tests are now available in t/spec/S32-num/rat.t
commit f9b04c54f7520839f8e42e4f2839377deb629c5d Author: moritz <mor...@c213334d-75ef-0310-aa23-eaa082d1ae64> Date: Sun May 30 20:27:26 2010 +0000 [t/spec] test for RT #74626 git-svn-id: http://svn.pugscode.org/p...@31002 c213334d-75ef-0310-aa23-eaa082d1ae64 diff --git a/t/spec/S32-num/rat.t b/t/spec/S32-num/rat.t index 0917474..9fea51b 100644 --- a/t/spec/S32-num/rat.t +++ b/t/spec/S32-num/rat.t @@ -209,6 +209,12 @@ is (-42/0).Num, -Inf, "(-42/0).Num = -Inf"; ok Rat.new() == 0, 'Rat.new() is 0'; +{ + my Rat $a; + $a += 0.1 for ^10; + ok $a == 1, 'can do += on variable initialized by type object'; +} + done_testing; # vim: ft=perl6