feat(f2/repl): allow should_fail to have repl input

So apparently we can still use the repl if the input file fails, as long
as we have the debugger enabled.
This Commit removes the "only one output block for should_fails"
requirement to allow this behavior

Change-Id: I02568c8d7e4305ab6414953306650bbe13c6f4bc
This commit is contained in:
rootile
2026-06-09 19:16:46 +02:00
parent c6fdf7d843
commit a4634bca67
-2
View File
@@ -176,8 +176,6 @@ class ReplTest:
def _output_to_blocks(self, output: str) -> tuple[str, list[tuple[str, ReplTestBlock]]]:
output = output.split("\x05")
start, *output = output
if self.metadata.should_fail:
return (start, [])
blocks = []
for block in self.blocks: