Fix for nim 1.2.x
This commit is contained in:
parent
01c11eecb0
commit
8a170e3261
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue