Changeset 22910 for t

Show
Ignore:
Timestamp:
11/07/08 06:42:19 (2 months ago)
Author:
pmichaud
Message:

[spec]: Fix test in S29-list/pick.t .

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • t/spec/S29-list/pick.t

    r22895 r22910  
    6666    # Test that List.pick doesn't flatten array refs 
    6767    # http://rt.perl.org/rt3/Ticket/Display.html?id=58526 
    68     ok ?([[1, 2], [3, 4]].pick.join('|') eq any('1|2', '3|4')), '[[1,2],[3,4]].pick does not flatten'; 
     68    ok ?([[1, 2], [3, 4]].pick.[0].join('|') eq any('1|2', '3|4')), '[[1,2],[3,4]].pick does not flatten'; 
    6969    #?rakudo todo 'array reference flattening, RT #58526' 
    7070    ok ?(~([[1, 2], [3, 4]].pick(*)) eq '1 2 3 4' | '3 4 1 2'), '[[1,2],[3,4]].pick(*) does not flatten';