Browse Source

+ missing halt instructions

florian 2 years ago
parent
commit
e7fda48327
2 changed files with 8 additions and 2 deletions
  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.