Changeset 22041
- Timestamp:
- 08/27/08 11:31:09 (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
r22040 r22041 33 33 34 34 (1|undef && pass '1|undef in boolean context') || fail '1|undef in boolean context'; 35 #?rakudo skip 'Junctions and short-circituing operators' 36 #?DOES 1 37 { 35 38 (1 & undef && fail '1&undef in boolean context') || pass '1&undef in boolean context'; 39 } 36 40 (1^undef && pass '1^undef in boolean context') || fail '1^undef in boolean context'; 37 41 … … 43 47 ok !(undef^0), 'undef^0 in boolean context'; 44 48 45 (0 | undef && fail '0|undef in boolean context') || pass '0|undef in boolean context';; 46 (0 & undef && fail '0&undef in boolean context') || pass '0&undef in boolean context';; 47 (0 ^ undef && fail '0^undef in boolean context') || pass '0^undef in boolean context';; 49 # this can in principle be TODOed, but fudge doesn't understand the test 50 # format 51 #?rakudo skip 'Junctions and short-circuiting operators' 52 #?DOES 3 53 { 54 (0 | undef && fail '0|undef in boolean context') || pass '0|undef in boolean context'; 55 (0 & undef && fail '0&undef in boolean context') || pass '0&undef in boolean context'; 56 (0 ^ undef && fail '0^undef in boolean context') || pass '0^undef in boolean context'; 57 } 48 58 49 59 ok 0|undef == 0, '0|undef == 0 in boolean context';
