Browse Source

tests: fix test for new variant overload preferences

git-svn-id: trunk@20927 -
paul 13 năm trước cách đây
mục cha
commit
d5bc501d89
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      tests/webtbs/tw11139.pp

+ 2 - 2
tests/webtbs/tw11139.pp

@@ -5,12 +5,12 @@ end;
 
 function f(const s: shortstring): shortstring; overload;
 begin
-  f:=lowercase(s);
+  halt(3);
 end;
 
 function f(const a: ansistring): ansistring; overload;
 begin
-  halt(3);
+  f:=lowercase(a);
 end;
 
 Procedure DoIt;