From ffe8769259196a9e267c7fddb20f3ea22cdde1b5 Mon Sep 17 00:00:00 2001 From: andri lim Date: Thu, 28 Feb 2019 13:50:50 +0700 Subject: [PATCH] fix test_vm_json --- tests/test_vm_json.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_vm_json.nim b/tests/test_vm_json.nim index 562b2c189..f951f5a23 100644 --- a/tests/test_vm_json.nim +++ b/tests/test_vm_json.nim @@ -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)