From c4e4f871dac709265145f8406206ee88da875fad Mon Sep 17 00:00:00 2001 From: Yan Chen <48968912+chenyan-dfinity@users.noreply.github.com> Date: Wed, 28 Feb 2024 09:40:10 -0800 Subject: [PATCH] Update construct.test.did --- test/construct.test.did | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/construct.test.did b/test/construct.test.did index 290f0cbe..2b7dac65 100644 --- a/test/construct.test.did +++ b/test/construct.test.did @@ -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";