Show
Ignore:
Timestamp:
07/31/08 21:32:54 (5 months ago)
Author:
Chuck.Esterbrook
Message:

Re-enable test for "raise SomeException?()" error.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • cobra/trunk/Tests/820-errors/300-statements/300-raise-exception.cobra

    r1561 r1567  
    1 # .skip. 
     1class Test 
    22 
    3 class Test 
    43        def main is shared 
    5                 raise Exception('message') # .error. throw an exception 
     4                # error: Invalid expression for raising events. Try "raise .someEvent, args" or "throw SomeException(args)". 
     5                raise Exception('message') # .error. throw