Skip to content

Commit

Permalink
Simplify code
Browse files Browse the repository at this point in the history
Co-authored-by: Philipp Wendler <[email protected]>
  • Loading branch information
Po-Chun-Chien and PhilippWendler authored Aug 9, 2024
1 parent 98f031a commit 62269e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion benchexec/tools/super_prove.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def determine_result(self, run):
"""
@return: status of super_prove after executing a run
"""
if len(run.output) > 0:
if run.output:
if run.output[0] == "0":
return result.RESULT_TRUE_PROP
elif run.output[0] == "1":
Expand Down

0 comments on commit 62269e8

Please sign in to comment.