Browse Source

tests: fix test for new variant overload preferences

git-svn-id: trunk@20927 -
paul 13 years ago
parent
commit
d5bc501d89
1 changed files with 2 additions and 2 deletions
  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;
 function f(const s: shortstring): shortstring; overload;
 begin
 begin
-  f:=lowercase(s);
+  halt(3);
 end;
 end;
 
 
 function f(const a: ansistring): ansistring; overload;
 function f(const a: ansistring): ansistring; overload;
 begin
 begin
-  halt(3);
+  f:=lowercase(a);
 end;
 end;
 
 
 Procedure DoIt;
 Procedure DoIt;