Changeset 23053

Show
Ignore:
Timestamp:
11/21/08 19:35:58 (7 weeks ago)
Author:
moritz
Message:

[t/spec] unfudge a passing test for rakudo in catch_type_cast_mismatch.t

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • t/spec/S02-builtin_data_types/catch_type_cast_mismatch.t

    r22919 r23053  
    1818lives_ok( { $ref[0] }, 'Accessing a hash as a list of pairs is fine'); 
    1919 
    20 #?rakudo skip '$ref = [42] causes Odd number of elements found where hash expected' 
    2120{ 
    2221    $ref = [ 42 ]; 
    2322    isa_ok($ref, Array); 
     23    #?rakudo todo 'A list should not be accessible with hash subscripts $a<0>' 
    2424    dies_ok( { $ref<0> }, 'Accessing an array as a hash dies'); 
    2525}