summary refs log tree commit diff stats
path: root/testament/htmlgen.nim
diff options
context:
space:
mode:
Diffstat (limited to 'testament/htmlgen.nim')
-rw-r--r--testament/htmlgen.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/testament/htmlgen.nim b/testament/htmlgen.nim
index ee3f3bad7..8e58dd95e 100644
--- a/testament/htmlgen.nim
+++ b/testament/htmlgen.nim
@@ -52,7 +52,7 @@ proc generateTestResultPanelPartial(outfile: File, testResultRow: JsonNode) =
     trId, name, target, category, action, resultDescription,
     timestamp, result, resultSign, panelCtxClass, textCtxClass, bgCtxClass
   )
-  if expected.isNilOrWhitespace() and gotten.isNilOrWhitespace():
+  if expected.isEmptyOrWhitespace() and gotten.isEmptyOrWhitespace():
     outfile.generateHtmlTestresultOutputNone()
   else:
     outfile.generateHtmlTestresultOutputDetails(