Browse Source

* Fixed tests to be locale independent.

git-svn-id: trunk@10693 -
yury 17 years ago
parent
commit
b14276d62a
2 changed files with 2 additions and 1 deletions
  1. 1 1
      tests/webtbs/tw10519.pp
  2. 1 0
      tests/webtbs/tw10753.pp

+ 1 - 1
tests/webtbs/tw10519.pp

@@ -4,6 +4,6 @@ var
   cs:String;
   cs:String;
 begin
 begin
   cs:=FormatFloat('0.00000E+0000',52247.9532745);
   cs:=FormatFloat('0.00000E+0000',52247.9532745);
-  if (cs<>'5.22480E+0004') then
+  if (cs<>'5'+DecimalSeparator+'22480E+0004') then
     halt(1);
     halt(1);
 end.
 end.

+ 1 - 0
tests/webtbs/tw10753.pp

@@ -27,6 +27,7 @@ procedure p;
 end;
 end;
 
 
 begin
 begin
+  ThousandSeparator:=',';
   p;
   p;
   if err then
   if err then
     halt(1);
     halt(1);