fix error message in tests

This commit is contained in:
jangko 2020-05-14 06:58:34 +07:00
parent 7a0215608e
commit af28985f6e
No known key found for this signature in database
GPG Key ID: 31702AE10541E6B9
2 changed files with 6 additions and 6 deletions

View File

@ -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

View File

@ -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: