浏览代码

* we halt if the currency values are *not* equal, not if they're equal... m(

git-svn-id: trunk@42487 -
svenbarth 6 年之前
父节点
当前提交
0c27ea83be
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      tests/test/tcustomattr13.pp

+ 1 - 1
tests/test/tcustomattr13.pp

@@ -131,7 +131,7 @@ begin
     Halt(61);
     Halt(61);
   if aStrm.Read(cu, SizeOf(cu)) <> SizeOf(cu) then
   if aStrm.Read(cu, SizeOf(cu)) <> SizeOf(cu) then
     Halt(62);
     Halt(62);
-  if SameValue(cu, CurrVal, 0.00009) then
+  if not SameValue(cu, CurrVal, 0.00009) then
     Halt(63);
     Halt(63);
   if aStrm.Read(g, SizeOf(g)) <> SizeOf(g) then
   if aStrm.Read(g, SizeOf(g)) <> SizeOf(g) then
     Halt(64);
     Halt(64);