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 %}