fix test_vm_json
This commit is contained in:
parent
a15805e41a
commit
ffe8769259
|
@ -72,7 +72,7 @@ proc testFixture(fixtures: JsonNode, testStatusIMPL: var TestStatus) =
|
||||||
if computation.isError:
|
if computation.isError:
|
||||||
echo "Computation error: ", computation.error.info
|
echo "Computation error: ", computation.error.info
|
||||||
|
|
||||||
let logEntries = vmState.getAndClearLogEntries()
|
let logEntries = computation.logEntries
|
||||||
if not fixture{"logs"}.isNil:
|
if not fixture{"logs"}.isNil:
|
||||||
let actualLogsHash = hashLogEntries(logEntries)
|
let actualLogsHash = hashLogEntries(logEntries)
|
||||||
let expectedLogsHash = toLowerAscii(fixture{"logs"}.getStr)
|
let expectedLogsHash = toLowerAscii(fixture{"logs"}.getStr)
|
||||||
|
|
Loading…
Reference in New Issue