From c1dba89c0253106bd18ec0bed756efbafe64fa3d Mon Sep 17 00:00:00 2001 From: Chandragupt Singh Date: Wed, 24 Jun 2026 17:31:00 +0530 Subject: [PATCH] fix(template): guard against test.result=None to stop false Pass labels on missing-row regression tests --- templates/test/by_id.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 %}