Changeset 22737 for t

Show
Ignore:
Timestamp:
10/24/08 17:23:55 (3 months ago)
Author:
lwall
Message:

[instance.t] fix two-terms-in-a-row syntax error

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • t/spec/S12-methods/instance.t

    r22702 r22737  
    3434{ 
    3535    my $val; 
    36     lives_ok { $val = $foo.noargs(); }, "... <space> + parentheses after method"; 
     36    lives_ok { $val = $foo.noargs\ (); }, "... <unspace> + parentheses after method"; 
    3737    is($val, 42, '... we got the value correctly'); 
    3838} 
     
    5050    my $val; 
    5151    lives_ok { 
    52         $val = $foo.noargs .(); 
    53     }, "... <space> + '.' + parentheses after method", :todo<bug>; 
     52        $val = $foo.noargs\ .(); 
     53    }, "... <unspace> + '.' + parentheses after method", :todo<bug>; 
    5454    is($val, 42, '... we got the value correctly', :todo<feature>); 
    5555}