Changeset 22491 for t

Show
Ignore:
Timestamp:
10/03/08 00:02:33 (2 months ago)
Author:
moritz
Message:

[t/spec] remove two very obscure chop.t tests that seemed to assume in-place
mutating semantics. azawawi++ for noticing.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • t/spec/S29-str/chop.t

    r21166 r22491  
    44# L<S29/Str/"=item chop"> 
    55 
    6 plan 12; 
     6plan 10; 
    77 
    88# 
     
    4747    is(@array[1], "buz", "second elem"); 
    4848}; 
    49  
    50 { # chop a hash 
    51     my %hash = ( "key", "value", "other", "blah"); 
    52  
    53 #?rakudo 2 skip "unspecced" 
    54 #?pugs 2 todo '' 
    55     # FIXME: is(chop(%hash), "h"|"e", "chopping hash returns last char of either value"); 
    56     is(%hash<key>, "valu", "first value chopped"); 
    57     is(%hash<other>, "bla", "second value chopped"); 
    58 };