Fix for nim 1.2.x

This commit is contained in:
Mark Spanbroek 2022-04-13 06:46:42 +02:00
parent 9725b5bc43
commit d427b1da40

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)