- Timestamp:
- 10/03/08 00:02:33 (2 months ago)
- Files:
-
- 1 modified
-
t/spec/S29-str/chop.t (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
t/spec/S29-str/chop.t
r21166 r22491 4 4 # L<S29/Str/"=item chop"> 5 5 6 plan 1 2;6 plan 10; 7 7 8 8 # … … 47 47 is(@array[1], "buz", "second elem"); 48 48 }; 49 50 { # chop a hash51 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 };
