Changeset 21225

Show
Ignore:
Timestamp:
07/04/08 19:46:32 (5 months ago)
Author:
pmichaud
Message:

S29-list/minmax.t: update test, .min and .max do work on Any

Files:
1 modified

Legend:

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

    r21224 r21225  
    5959# Error cases: 
    6060#?pugs 2 todo 'bug' 
    61 dies_ok { 42.max }, ".max should not work on scalars"; 
    62 dies_ok { 42.min }, ".min should not work on scalars"; 
    63 is (42,).max, 42, ".max should work on one-elem arrays"; 
     61is 42.min, 42, ".min should work on scalars"; 
     62is 42.max, 42, ".max should work on scalars"; 
     63is (42,).min, 42, ".min should work on one-elem arrays"; 
    6464is (42,).max, 42, ".max should work on one-elem arrays"; 
    6565