Show
Ignore:
Timestamp:
08/27/07 08:10:57 (17 months ago)
Author:
pmoura
Message:

Corrected a bug in the library object "lgtunit" (wrong arity on two failed_test/2 predicate calls).

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/library/lgtunit.lgt

    r3818 r3825  
    33 
    44    :- info([ 
    5         version is 0.1, 
     5        version is 0.2, 
    66        author is 'Paulo Moura', 
    7         date is 2007/08/5, 
     7        date is 2007/08/27, 
    88        comment is 'Logtalk unit test framework.']). 
    99 
     
    8585        (   catch({Goal}, Ball, ((Ball = Error -> passed_test(Test, Goal); failed_test(Test, Goal)), Flag = error)) -> 
    8686            (   var(Flag) -> 
    87                 failed_test(Test, Goal, Error) 
     87                failed_test(Test, Goal) 
    8888            ;   true 
    8989            ) 
    90         ;   failed_test(Test, Goal, Error) 
     90        ;   failed_test(Test, Goal) 
    9191        ). 
    9292