@@ -44,7 +44,7 @@ var doubleCustomNestedListAttr = codespec.Attribute{
4444 TFModelName : "DoubleNestedListAttr" ,
4545 Description : admin .PtrString ("double nested list attribute" ),
4646 ComputedOptionalRequired : codespec .Optional ,
47- CustomType : codespec .NewCustomListType ("DoubleNestedListAttr" ),
47+ CustomType : codespec .NewCustomNestedListType ("DoubleNestedListAttr" ),
4848 ListNested : & codespec.ListNestedAttribute {
4949 NestedObject : codespec.NestedAttributeObject {
5050 Attributes : []codespec.Attribute {
@@ -263,7 +263,7 @@ func TestSchemaGenerationFromCodeSpec(t *testing.T) {
263263 TFModelName : "NestedListAttr" ,
264264 Description : admin .PtrString ("nested list attribute" ),
265265 ComputedOptionalRequired : codespec .Optional ,
266- CustomType : codespec .NewCustomListType ("NestedListAttr" ),
266+ CustomType : codespec .NewCustomNestedListType ("NestedListAttr" ),
267267 ListNested : & codespec.ListNestedAttribute {
268268 NestedObject : codespec.NestedAttributeObject {
269269 Attributes : []codespec.Attribute {stringAttr , intAttr , doubleCustomNestedListAttr },
@@ -333,7 +333,7 @@ func TestSchemaGenerationFromCodeSpec(t *testing.T) {
333333 TFModelName : "FirstNestedAttr" ,
334334 Description : admin .PtrString ("first nested attribute" ),
335335 ComputedOptionalRequired : codespec .Optional ,
336- CustomType : codespec .NewCustomListType ("FirstNestedAttr" ),
336+ CustomType : codespec .NewCustomNestedListType ("FirstNestedAttr" ),
337337 ListNested : & codespec.ListNestedAttribute {
338338 NestedObject : codespec.NestedAttributeObject {
339339 Attributes : []codespec.Attribute {doubleCustomNestedListAttr },
@@ -345,7 +345,7 @@ func TestSchemaGenerationFromCodeSpec(t *testing.T) {
345345 TFModelName : "SecondNestedAttr" ,
346346 Description : admin .PtrString ("second nested attribute" ),
347347 ComputedOptionalRequired : codespec .Optional ,
348- CustomType : codespec .NewCustomListType ("SecondNestedAttr" ),
348+ CustomType : codespec .NewCustomNestedListType ("SecondNestedAttr" ),
349349 ListNested : & codespec.ListNestedAttribute {
350350 NestedObject : codespec.NestedAttributeObject {
351351 Attributes : []codespec.Attribute {doubleCustomNestedListAttr },
0 commit comments