瀏覽代碼

* fixed tests

git-svn-id: trunk@14794 -
florian 15 年之前
父節點
當前提交
5b1e713e5b
共有 2 個文件被更改,包括 2 次插入2 次删除
  1. 1 1
      tests/tbs/tb0195.pp
  2. 1 1
      tests/tbs/tb0568.pp

+ 1 - 1
tests/tbs/tb0195.pp

@@ -3,9 +3,9 @@
 { consts > 255 are truncated (should work in -S2,-Sd)  OK 0.99.11 (PFV) }
 { this is not true anymore because it can lead silently to bugs,
   it is allowed now in $H+ mode else it causes an error (FK) }
-{$H+}
 
 {$mode objfpc}
+{$H+}
 {$X-}
 
 const

+ 1 - 1
tests/tbs/tb0568.pp

@@ -4,6 +4,6 @@ var
 begin
   { String constants can't exceed 255 chars }
   i:=length('12345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890');
-  if i<>280 then
+  if i<>290 then
     halt(1);
 end.