mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-22 13:59:31 +02:00
fpcunit: fixed compilation fpc 3.x
git-svn-id: trunk@48817 -
This commit is contained in:
parent
a4706fccd1
commit
e1a9dcda81
@ -784,7 +784,7 @@ begin
|
||||
Format(rsException, [AFailure.ExceptionClassName])) as TMessageTreeNode;
|
||||
node.ImageIndex := imgWarningSign;
|
||||
node.SelectedIndex := imgWarningSign;
|
||||
{$IFDEF VER2_6}
|
||||
{$IF FPC_FULLVERSION <= 30001}
|
||||
node := TestTree.Items.AddChild(FailureNode,
|
||||
Format('at line %d in <%s>', [AFailure.LineNumber, AFailure.UnitName])) as TMessageTreeNode;
|
||||
{$ELSE}
|
||||
@ -839,7 +839,7 @@ begin
|
||||
node.ImageIndex := imgWarningSign;
|
||||
node.SelectedIndex := imgWarningSign;
|
||||
// line info details
|
||||
{$IFDEF VER2_6}
|
||||
{$IF FPC_FULLVERSION <= 30001}
|
||||
node := TestTree.Items.AddChild(ErrorNode,
|
||||
Format('at line %d in <%s>', [AError.LineNumber, AError.UnitName])) as TMessageTreeNode;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user