- Timestamp:
- 10/15/08 09:36:46 (3 months ago)
- Location:
- t/spec
- Files:
-
- 2 modified
-
S02-builtin_data_types/array_extending.t (modified) (2 diffs)
-
S03-operators/binding-arrays.t (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
t/spec/S02-builtin_data_types/array_extending.t
r21036 r22618 19 19 # @array shouldn't change. But currently, @array *is* automatically extended, 20 20 # i.e. @array is ("a", "b", "c", "d", undef, undef, ...). This is wrong. 21 #?rakudo todo "array bug"22 21 is +@array, 4, 23 22 "accessing a not existing array element should not automatically extend the array"; … … 43 42 ok !$defined, 44 43 'defined @array[$index_out_of_bounds] should be false'; 45 #?rakudo todo "array bug"46 44 is +@array, 4, 47 45 'defined @array[$index_out_of_bounds] should not have altered @array'; -
t/spec/S03-operators/binding-arrays.t
r22117 r22618 64 64 $var = "f"; 65 65 @array[1] = "g"; 66 #?rakudo todo 'array binding'67 66 is $var, "f", "binding of array elements works with resetting the array (4)"; 68 67 is @array[1], "g", "binding of array elements works with resetting the array (5)";
