Skip to content

Commit

Permalink
Fix test cases
Browse files Browse the repository at this point in the history
  • Loading branch information
magoorden committed Jun 13, 2024
1 parent a748dd8 commit 0a94ece
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion strategoutil.py
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ def run_stratego(model_file, query_file="", learning_args=None, verifyta_command
result = [r.decode("utf-8") for r in result]

# Throw error if stderr is nonempty.
if len(result[1]) > 0:
if len(result) > 1 and len(result[1]) > 0:
raise RuntimeError("Uppaal finished with the following error message:\n\n" + result[1] +
"\n" +
"You can run the following command in a terminal to recreate the error:\n\n" + task)
Expand Down

0 comments on commit 0a94ece

Please sign in to comment.