Show
Ignore:
Timestamp:
10/03/08 10:02:56 (3 months ago)
Author:
moritz
Message:

[t/spec] basic tests for infix:<,=>, literal++ for bringing it up

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • t/spec/S03-operators/assign.t

    r22220 r22496  
    77# L<S03/Changes to Perl 5 operators/list assignment operator now parses on the right> 
    88 
    9 plan 304; 
     9plan 306; 
    1010 
    1111 
     
    10311031} 
    10321032 
     1033#?rakudo skip ',=' 
     1034#?DOES 2 
     1035{ 
     1036    my @a = 1, 2; 
     1037    is  (@a ,= 3, 4).join('|'), '1|2|3|4', ',= on lists works the same as push (return value)' 
     1038    is  @a.join('|'), '1|2|3|4', ',= on lists works the same as push (effect on array)' 
     1039 
     1040}