Explorar o código

* removed interactiveness from the test

git-svn-id: trunk@30862 -
Jonas Maebe %!s(int64=10) %!d(string=hai) anos
pai
achega
3efd54cbd6
Modificáronse 1 ficheiros con 2 adicións e 3 borrados
  1. 2 3
      tests/webtbs/tw28089.pp

+ 2 - 3
tests/webtbs/tw28089.pp

@@ -10,8 +10,7 @@ var
 
 
 begin
 begin
  Buf[0] := 'A';
  Buf[0] := 'A';
- writeln(ord(Buf[0]));
  StrPLCopy(Buf, '', 0);
  StrPLCopy(Buf, '', 0);
- writeln(ord(Buf[0]));
- readln;
+ if Buf[0]<>#0 then
+   halt(1);
 end.
 end.