浏览代码

tests: fix test for new variant overload preferences

git-svn-id: trunk@20927 -
paul 13 年之前
父节点
当前提交
d5bc501d89
共有 1 个文件被更改,包括 2 次插入2 次删除
  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;