fix error message in tests
This commit is contained in:
parent
7a0215608e
commit
af28985f6e
|
@ -38,7 +38,7 @@ proc testGetBranch(tester: Tester, rootHash: KeccakHash, testStatusIMPL: var Tes
|
|||
let acc = rlp.decode(recordFound, Account)
|
||||
doAssert acc == account
|
||||
else:
|
||||
doAssert(false, "BUG IN TREE BUILDER")
|
||||
doAssert(false, "BUG IN WITNESS/TREE BUILDER")
|
||||
|
||||
except ContractCodeError as e:
|
||||
debugEcho "CONTRACT CODE ERROR: ", e.msg
|
||||
|
|
|
@ -103,7 +103,7 @@ proc runTest(numPairs: int, testStatusIMPL: var TestStatus, addInvalidKeys: stat
|
|||
let acc = rlp.decode(recordFound, Account)
|
||||
check acc == accs[i]
|
||||
else:
|
||||
debugEcho "BUG IN TREE BUILDER ", i
|
||||
debugEcho "BUG IN WITNESS/TREE BUILDER ", i
|
||||
check false
|
||||
|
||||
when addInvalidKeys:
|
||||
|
|
Loading…
Reference in New Issue