浏览代码

* fix test to check result properly as pointed out by Bi0T1N in the bug tracker

git-svn-id: trunk@45739 -
florian 5 年之前
父节点
当前提交
f65f1bd802
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3 0
      tests/webtbs/tw37301.pp

+ 3 - 0
tests/webtbs/tw37301.pp

@@ -10,4 +10,7 @@ begin
   b := 0;
   w := abs(i-b);
   WriteLn(w);
+  if w<>53 then
+    halt(1);
+  Writeln('ok');
 end.