diff --git a/templates/test/by_id.html b/templates/test/by_id.html index a54df860..ca3c38e4 100644 --- a/templates/test/by_id.html +++ b/templates/test/by_id.html @@ -145,16 +145,16 @@

Fail {%- endif %} - {% elif file.got is none or no_error.found or test.result.exit_code != 0 -%} - Pass {% elif file.got == "error" %} No output generated but there should be + {% elif file.got is none or no_error.found or (test.result and test.result.exit_code != 0) -%} + Pass {% else %} Fail {%- endif %}