This is an automatically generated mail to inform you that tests are now available in t/spec/S02-builtin_data_types/bool.t
commit 6830b4069cc912139a59426d92589d5e81e22e31 Author: kyle <k...@c213334d-75ef-0310-aa23-eaa082d1ae64> Date: Sun Oct 11 22:25:46 2009 +0000 [t/spec] Test for RT #65514 git-svn-id: http://svn.pugscode.org/p...@28764 c213334d-75ef-0310-aa23-eaa082d1ae64 diff --git a/t/spec/S02-builtin_data_types/bool.t b/t/spec/S02-builtin_data_types/bool.t index 25e6db9..95d408e 100644 --- a/t/spec/S02-builtin_data_types/bool.t +++ b/t/spec/S02-builtin_data_types/bool.t @@ -1,12 +1,9 @@ use v6; - use Test; - +plan *; # L<S12/Enums/"Two built-in enums are"> -plan 24; - # tests True and False are Bool's isa_ok(Bool::True, Bool); isa_ok(Bool::False, Bool); @@ -56,5 +53,13 @@ is(++$bool, Bool::True, 'Increment of Bool::True still produces Bool::True'); is(--$bool, Bool::False, 'Decrement of Bool::True produces Bool::False'); is(--$bool, Bool::False, 'Decrement of Bool::False produces Bool::False'); +# RT #65514 +{ + #?rakudo 2 skip 'RT #65514 mix in bool with "but"' + ok (0 but Bool::True), 'Bool::True works with "but"'; + is ('RT65514' but Bool::False), 'RT65514', 'Bool::False works with "but"'; +} + +done_testing; # vim: ft=perl6