Fix for nim 1.2.x

This commit is contained in:
Mark Spanbroek 2022-04-13 06:46:42 +02:00 committed by markspanbroek
parent 01c11eecb0
commit 8a170e3261
1 changed files with 2 additions and 2 deletions

View File

@ -73,8 +73,8 @@ suite "custom types":
check AbiDecoder.decode(encoding, Custom2) == success custom2
test "fail when finishTuple() is missing":
expect AssertionDefect:
expect Exception:
discard AbiEncoder.encode(custom3)
let encoding = AbiEncoder.encode( (custom3.a, custom3.b) )
expect AssertionDefect:
expect Exception:
discard AbiDecoder.decode(encoding, Custom3)