summaryrefslogtreecommitdiff
path: root/packages/pastojs/tests/tcfiler.pas
diff options
context:
space:
mode:
Diffstat (limited to 'packages/pastojs/tests/tcfiler.pas')
-rw-r--r--packages/pastojs/tests/tcfiler.pas3
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/pastojs/tests/tcfiler.pas b/packages/pastojs/tests/tcfiler.pas
index 464b2608b2..491a2f62c9 100644
--- a/packages/pastojs/tests/tcfiler.pas
+++ b/packages/pastojs/tests/tcfiler.pas
@@ -1358,7 +1358,8 @@ end;
procedure TCustomTestPrecompile.CheckRestoredInlineSpecializedExpr(
const Path: string; Orig, Rest: TInlineSpecializeExpr);
begin
- CheckRestoredElOrRef(Path+'.DestType',Orig,Orig.DestType,Rest,Rest.DestType);
+ CheckRestoredElement(Path+'.NameExpr',Orig.NameExpr,Rest.NameExpr);
+ CheckRestoredElementList(Path+'.Params',Orig.Params,Rest.Params);
end;
procedure TCustomTestPrecompile.CheckRestoredRangeType(const Path: string;