Przeglądaj źródła

* Fixed test to be locale independent.

git-svn-id: trunk@10697 -
yury 17 lat temu
rodzic
commit
4c769f6148
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      tests/webtbs/tw9384.pp

+ 1 - 1
tests/webtbs/tw9384.pp

@@ -6,6 +6,6 @@ var
   ef : Extended;
   ef : Extended;
 begin
 begin
   ef := 12;
   ef := 12;
-  if (FormatFloat('#.#######E-0',ef) <> '1.2E1') then
+  if (FormatFloat('#.#######E-0',ef) <> '1'+DecimalSeparator+'2E1') then
     halt(1);
     halt(1);
 end.
 end.