* Changed AssertException so "no exception" is displayed if there was no exception

git-svn-id: trunk@11567 -
This commit is contained in:
michael 2008-08-14 08:07:16 +00:00
parent 89ae7d0b25
commit 71f89ce8cd

View File

@ -302,7 +302,7 @@ Resourcestring
SMethodNotFound = 'Method <%s> not found';
SNoValidInheritance = ' does not inherit from TTestCase';
SNoValidTests = 'No valid tests found in ';
SNoException = 'no exception';
implementation
@ -712,6 +712,7 @@ begin
Passed := False;
try
AMethod;
ExceptionName:=SNoException;
except
on E: Exception do
begin