diff options
author | Timothee Cour <timothee.cour2@gmail.com> | 2020-01-30 01:54:50 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-30 10:54:50 +0100 |
commit | bf22b44b1fff3109f637f205b7d0fca855db9bbd (patch) | |
tree | 6da9436a06959db5a41b93a336843ed35db86032 /testament/htmlgen.nim | |
parent | 81a43791f932291c0654e0a5fd6d53ede7a7c1dc (diff) | |
download | Nim-bf22b44b1fff3109f637f205b7d0fca855db9bbd.tar.gz |
miscellaneous bug fixes (#13291)
* fix for emscripten etc * add testcase for #13290 * replace deprecated isNilOrWhitespace
Diffstat (limited to 'testament/htmlgen.nim')
-rw-r--r-- | testament/htmlgen.nim | 2 |
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( |