This is an automatically generated mail to inform you that tests are now available in at least one of these files: misc/pm.txt, t/spec/S02-builtin_data_types/bool.t
commit 6654f90c9d0eb5d302cf716ba8c9a60073ad1a2d Author: kyle <k...@c213334d-75ef-0310-aa23-eaa082d1ae64> Date: Mon Nov 16 15:31:30 2009 +0000 [t/spec] Test for RT 66576: .name method on bool values git-svn-id: http://svn.pugscode.org/p...@29103 c213334d-75ef-0310-aa23-eaa082d1ae64 diff --git a/misc/pm.txt b/misc/pm.txt index f464e5f..9765f5c 100644 --- a/misc/pm.txt +++ b/misc/pm.txt @@ -14,10 +14,6 @@ is meant to be used for e.g. map, which needs to work on lists like (1,2,3), it can't cut constants out, so it seems no more constraining than :(\$x) too. Should one of them go away? -Kh-1: Is it true that Bool::True.name should work? Should it return - the string 'True'? - I as because of http://rt.perl.org/rt3/Public/Bug/Display.html?id=66576 - ========== Answered questions: @@ -116,4 +112,3 @@ declare my or our to make the & alias in the current lexpad, then "is export" does no more magic than it ordinarily does. I suppose method aliases are always considered multi when they show up in a symbol table. - diff --git a/t/spec/S02-builtin_data_types/bool.t b/t/spec/S02-builtin_data_types/bool.t index 95d408e..d5610d9 100644 --- a/t/spec/S02-builtin_data_types/bool.t +++ b/t/spec/S02-builtin_data_types/bool.t @@ -60,6 +60,12 @@ is(--$bool, Bool::False, 'Decrement of Bool::False produces Bool::False'); is ('RT65514' but Bool::False), 'RT65514', 'Bool::False works with "but"'; } +#?rakudo skip 'RT 66576: .name method on bool values' +{ + is Bool::True.name, 'True', 'Bool::True.name works (is "True")'; + is Bool::False.name, 'False', 'Bool::False.name works (is "False")'; +} + done_testing; # vim: ft=perl6