Changeset 22044
- Timestamp:
- 08/27/08 16:28:24 (3 months ago)
- Files:
-
- 1 modified
-
t/spec/S03-junctions/boolean-context.t (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
t/spec/S03-junctions/boolean-context.t
r22042 r22044 32 32 ok ?(undef ^ -1), 'undef^-1 in boolean context'; 33 33 34 (1|undef && pass '1|undef in boolean context') || f ail'1|undef in boolean context';34 (1|undef && pass '1|undef in boolean context') || flunk '1|undef in boolean context'; 35 35 #?rakudo skip 'Junctions and short-circituing operators' 36 36 #?DOES 1 37 37 { 38 (1 & undef && f ail'1&undef in boolean context') || pass '1&undef in boolean context';38 (1 & undef && flunk '1&undef in boolean context') || pass '1&undef in boolean context'; 39 39 } 40 (1^undef && pass '1^undef in boolean context') || f ail'1^undef in boolean context';40 (1^undef && pass '1^undef in boolean context') || flunk '1^undef in boolean context'; 41 41 42 42 ok !(0 | undef), '0|undef in boolean context'; … … 52 52 #?DOES 3 53 53 { 54 (0 | undef && f ail'0|undef in boolean context') || pass '0|undef in boolean context';55 (0 & undef && f ail'0&undef in boolean context') || pass '0&undef in boolean context';56 (0 ^ undef && f ail'0^undef in boolean context') || pass '0^undef in boolean context';54 (0 | undef && flunk '0|undef in boolean context') || pass '0|undef in boolean context'; 55 (0 & undef && flunk '0&undef in boolean context') || pass '0&undef in boolean context'; 56 (0 ^ undef && flunk '0^undef in boolean context') || pass '0^undef in boolean context'; 57 57 } 58 58
