Skip to content

Commit 74ee7d2

Browse files
committed
more green
1 parent dee860a commit 74ee7d2

File tree

1 file changed

+44
-0
lines changed

1 file changed

+44
-0
lines changed

statecheck/test_provider_test.go

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,16 @@ var anTestProvider = testprovider.Provider{
4747
Type: tftypes.List{ElementType: tftypes.String},
4848
Optional: true,
4949
},
50+
{
51+
Name: "map_attribute",
52+
Type: tftypes.Map{ElementType: tftypes.String},
53+
Optional: true,
54+
},
55+
{
56+
Name: "set_attribute",
57+
Type: tftypes.Set{ElementType: tftypes.String},
58+
Optional: true,
59+
},
5060
},
5161
BlockTypes: []*tfprotov6.SchemaNestedBlock{
5262
{
@@ -62,6 +72,40 @@ var anTestProvider = testprovider.Provider{
6272
},
6373
},
6474
},
75+
{
76+
TypeName: "set_nested_block",
77+
Nesting: 3,
78+
Block: &tfprotov6.SchemaBlock{
79+
Attributes: []*tfprotov6.SchemaAttribute{
80+
{
81+
Name: "set_nested_block_attribute",
82+
Type: tftypes.String,
83+
Optional: true,
84+
},
85+
},
86+
},
87+
},
88+
{
89+
TypeName: "set_nested_nested_block",
90+
Nesting: 3,
91+
Block: &tfprotov6.SchemaBlock{
92+
BlockTypes: []*tfprotov6.SchemaNestedBlock{
93+
{
94+
TypeName: "set_nested_block",
95+
Nesting: 4,
96+
Block: &tfprotov6.SchemaBlock{
97+
Attributes: []*tfprotov6.SchemaAttribute{
98+
{
99+
Name: "set_nested_block_attribute",
100+
Type: tftypes.String,
101+
Optional: true,
102+
},
103+
},
104+
},
105+
},
106+
},
107+
},
108+
},
65109
},
66110
},
67111
},

0 commit comments

Comments
 (0)