浏览代码

tests: fix test for locales with DecimalSeparator <> '.'

git-svn-id: trunk@15123 -
paul 15 年之前
父节点
当前提交
36125b623a
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      tests/webtbs/tw16188.pp

+ 1 - 0
tests/webtbs/tw16188.pp

@@ -35,6 +35,7 @@ end;
 var ext:extended;
   str: shortstring;
 begin
+  DecimalSeparator:='.';
   ext:=234.56789; 
   check(FloatToStrF(ext,ffGeneral,4,1),1);
   check(FloatToStrF(ext,ffGeneral,5,1),2);