Selaa lähdekoodia

* fixed test.

git-svn-id: trunk@7724 -
yury 18 vuotta sitten
vanhempi
commit
7a6c15bfcd
1 muutettua tiedostoa jossa 6 lisäystä ja 2 poistoa
  1. 6 2
      tests/webtbs/tw8935.pp

+ 6 - 2
tests/webtbs/tw8935.pp

@@ -20,8 +20,12 @@ begin
 end;
 
 begin
-  DoTest1;
-  if DoTest2 <> $12345678 then
+  try
+    DoTest1;
+  except
     Halt(1);
+  end;
+  if DoTest2 <> $12345678 then
+    Halt(2);
   DoTest3;
 end.