Changeset 22788
- Timestamp:
- 10/27/08 23:40:39 (2 months ago)
- Location:
- t/spec
- Files:
-
- 3 modified
-
S02-builtin_data_types/array_ref.t (modified) (2 diffs)
-
S03-junctions/misc.t (modified) (2 diffs)
-
S29-list/pick.t (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
t/spec/S02-builtin_data_types/array_ref.t
r22383 r22788 122 122 123 123 # [] creates new containers (() does not) 124 #?rakudo skip'infix:<=:=> unimplemented'124 #?rakudo todo 'infix:<=:=> unimplemented' 125 125 { 126 126 my $foo; … … 128 128 } 129 129 130 #?rakudo skip'infix:<=:=> unimplemented'130 #?rakudo todo 'infix:<=:=> unimplemented' 131 131 { 132 132 my $foo; 133 133 my $arrayref = [$foo]; 134 ok !($arrayref[0] =:= $foo), "creating arrays using [] creates new containers (2)";134 ok $arrayref[0] !=:= $foo, "creating arrays using [] creates new containers (2)"; 135 135 } -
t/spec/S03-junctions/misc.t
r22286 r22788 62 62 # test junction to junction 63 63 64 #?rakudo todo 'Compare junctions with junctions'65 64 ok(('a' | 'b' | 'c') eq ($a & $b & $c), 'junction ("a" | "b" | "c") matches junction ($a & $b & $c)'); 66 65 ok(('a' & 'b' & 'c') eq ($a | $b | $c), 'junction ("a" & "b" & "c") matches junction ($a | $b | $c)'); … … 292 291 # junction in boolean context 293 292 ok(?(0&0) == ?(0&&0), 'boolean context'); 294 #?rakudo todo 'boolen context of junctions'295 293 ok(?(0&1) == ?(0&&1), 'boolean context'); 296 294 ok(?(1&1) == ?(1&&1), 'boolean context'); 297 #?rakudo todo 'boolen context of junctions'298 295 ok(?(1&0) == ?(1&&0), 'boolean context'); 299 296 ok(!(?(0&0) != ?(0&&0)), 'boolean context'); -
t/spec/S29-list/pick.t
r22260 r22788 67 67 # http://rt.perl.org/rt3/Ticket/Display.html?id=58526 68 68 ok ?([[1, 2], [3, 4]].pick.join('|') eq any('1|2', '3|4')), '[[1,2],[3,4]].pick does not flatten'; 69 #?rakudo todo 'List.pick(*) should not flatten, RT #58526'70 69 ok ?(~([[1, 2], [3, 4]].pick(*)) eq '1 2 3 4' | '3 4 1 2'), '[[1,2],[3,4]].pick(*) does not flatten'; 71 70
