mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-11-07 02:29:34 +01:00
codetools: nicer test result
git-svn-id: trunk@50103 -
This commit is contained in:
parent
0ca8f14eff
commit
68d7015320
@ -168,7 +168,7 @@ begin
|
|||||||
FoundCursorPos.Code,FoundCursorPos.X,FoundCursorPos.Y,FoundTopLine)
|
FoundCursorPos.Code,FoundCursorPos.X,FoundCursorPos.Y,FoundTopLine)
|
||||||
then begin
|
then begin
|
||||||
if ExpectedPath<>'' then
|
if ExpectedPath<>'' then
|
||||||
AssertEquals('find declaration failed at '+Tool.CleanPosToStr(IdentifierStartPos,true)+': '+CodeToolBoss.ErrorMessage,false,true);
|
AssertEquals('find declaration failed at '+Tool.CleanPosToStr(IdentifierStartPos,true)+': '+CodeToolBoss.ErrorMessage,true,false);
|
||||||
continue;
|
continue;
|
||||||
end else begin
|
end else begin
|
||||||
FoundTool:=CodeToolBoss.GetCodeToolForSource(FoundCursorPos.Code,true,true) as TFindDeclarationTool;
|
FoundTool:=CodeToolBoss.GetCodeToolForSource(FoundCursorPos.Code,true,true) as TFindDeclarationTool;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user