mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-20 17:49:27 +02:00
* Changed AssertException so "no exception" is displayed if there was no exception
git-svn-id: trunk@11567 -
This commit is contained in:
parent
89ae7d0b25
commit
71f89ce8cd
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user