fix test_vm_json

This commit is contained in:
andri lim 2019-02-28 13:50:50 +07:00 committed by zah
parent a15805e41a
commit ffe8769259
1 changed files with 1 additions and 1 deletions

View File

@ -72,7 +72,7 @@ proc testFixture(fixtures: JsonNode, testStatusIMPL: var TestStatus) =
if computation.isError:
echo "Computation error: ", computation.error.info
let logEntries = vmState.getAndClearLogEntries()
let logEntries = computation.logEntries
if not fixture{"logs"}.isNil:
let actualLogsHash = hashLogEntries(logEntries)
let expectedLogsHash = toLowerAscii(fixture{"logs"}.getStr)