Skip to content

Commit

Permalink
Update construct.test.did (#531)
Browse files Browse the repository at this point in the history
  • Loading branch information
chenyan-dfinity authored Feb 29, 2024
1 parent d642e13 commit 4f2b43b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/construct.test.did
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ assert blob "DIDL\01\6e\7c\01\00\01" !: (opt int)
assert blob "DIDL\01\6e\7c\01\00\00\2a" !: (opt int) "opt: too long";
assert blob "DIDL\02\6e\01\6e\7c\01\00\01\01\2a" == "(opt opt 42)" : (opt opt int) "opt: nested";
assert blob "DIDL\01\6e\00\01\00\01\01\00" == "(opt opt null)" : (Opt) "opt: recursion";
assert blob "DIDL\01\6e\00\01\00\01\01\00" == "(opt opt null)" : (opt opt opt empty) "opt: non-recurisve type";
assert blob "DIDL\01\6e\00\01\00\01\01\00" == "(opt opt null)" : (opt opt opt empty) "opt: non-recursive type";
assert blob "DIDL\02\6e\01\6e\00\01\00\01\01\00" == "(opt opt null)" : (Opt) "opt: mutual recursion";
assert blob "DIDL\00\00" == "(null)" : (Opt) "opt: extra arg";

Expand Down

0 comments on commit 4f2b43b

Please sign in to comment.