From 8e435d7b0c4ec2547023c9a2d4ff60f587601ae5 Mon Sep 17 00:00:00 2001 From: LemonBoy Date: Tue, 21 Aug 2018 15:15:14 +0200 Subject: [PATCH] HTML generation in testament works again (#8702) Fallout from the nil-str patch. Nothing to see here, move along. --- tests/testament/htmlgen.nim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/testament/htmlgen.nim b/tests/testament/htmlgen.nim index 4a888427e0..4a10fe00c2 100644 --- a/tests/testament/htmlgen.nim +++ b/tests/testament/htmlgen.nim @@ -22,8 +22,8 @@ proc generateTestResultPanelPartial(outfile: File, testResultRow: JsonNode) = target = testResultRow["target"].str.htmlQuote() action = testResultRow["action"].str.htmlQuote() result = htmlQuote testResultRow["result"].str - expected = testResultRow["expected"].str - gotten = testResultRow["given"].str + expected = testResultRow["expected"].getStr + gotten = testResultRow["given"].getStr timestamp = "unknown" var panelCtxClass, textCtxClass, bgCtxClass: string