From bf22b44b1fff3109f637f205b7d0fca855db9bbd Mon Sep 17 00:00:00 2001 From: Timothee Cour Date: Thu, 30 Jan 2020 01:54:50 -0800 Subject: miscellaneous bug fixes (#13291) * fix for emscripten etc * add testcase for #13290 * replace deprecated isNilOrWhitespace --- testament/htmlgen.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'testament/htmlgen.nim') 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( -- cgit 1.4.1-2-gfad0