Changeset 23053
- Timestamp:
- 11/21/08 19:35:58 (7 weeks ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
t/spec/S02-builtin_data_types/catch_type_cast_mismatch.t
r22919 r23053 18 18 lives_ok( { $ref[0] }, 'Accessing a hash as a list of pairs is fine'); 19 19 20 #?rakudo skip '$ref = [42] causes Odd number of elements found where hash expected'21 20 { 22 21 $ref = [ 42 ]; 23 22 isa_ok($ref, Array); 23 #?rakudo todo 'A list should not be accessible with hash subscripts $a<0>' 24 24 dies_ok( { $ref<0> }, 'Accessing an array as a hash dies'); 25 25 }
