This is an automatically generated mail to inform you that tests are now available in t/spec/S12-enums/thorough.t
commit 8785f522e418108dbccd2e289ed6829b6f1ecf83 Author: kyle <k...@c213334d-75ef-0310-aa23-eaa082d1ae64> Date: Wed Oct 14 03:32:23 2009 +0000 [t/spec] Test for RT 65658 git-svn-id: http://svn.pugscode.org/p...@28783 c213334d-75ef-0310-aa23-eaa082d1ae64 diff --git a/t/spec/S12-enums/thorough.t b/t/spec/S12-enums/thorough.t index 66598c6..d6fad0c 100644 --- a/t/spec/S12-enums/thorough.t +++ b/t/spec/S12-enums/thorough.t @@ -2,7 +2,7 @@ use v6; use Test; -plan 71; +plan *; =begin description @@ -110,4 +110,14 @@ ok Bool::True.perl ~~/^ 'Bool::True'/, 'Bool::True.perl'; eval_dies_ok 'RT66886::c', 'accessing non-value of enum dies proper-like'; } +# RT #65658 +{ + enum RT65658 <Todo Bug Feature Ticket>; + #?rakudo 2 skip 'RT 65658' + is RT65658(2), RT65658::Feature, 'can index enum by number'; + is RT65658((Todo + 3.2).Int), RT65658::Ticket, 'enum and math and index'; +} + +done_testing; + # vim: ft=perl6