Explorar el Código

+ missing halt instructions

florian hace 2 años
padre
commit
e7fda48327
Se han modificado 2 ficheros con 8 adiciones y 2 borrados
  1. 4 1
      tests/webtbs/tw39615a.pp
  2. 4 1
      tests/webtbs/tw39615b.pp

+ 4 - 1
tests/webtbs/tw39615a.pp

@@ -26,5 +26,8 @@ begin
 			ok := false;
 		end;
 	end;
-	if ok then writeln('ok');
+	if ok then 
+	  writeln('ok')
+	else
+	  halt(1);
 end.

+ 4 - 1
tests/webtbs/tw39615b.pp

@@ -26,5 +26,8 @@ begin
 			ok := false;
 		end;
 	end;
-	if ok then writeln('ok');
+	if ok then 
+	  writeln('ok')
+	else
+	  halt(1);
 end.