mirror of
https://github.com/logos-storage/nim-contract-abi.git
synced 2026-01-02 21:53:07 +00:00
Fix for nim 1.2.x
This commit is contained in:
parent
9725b5bc43
commit
d427b1da40
@ -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…
x
Reference in New Issue
Block a user