@@ -31,10 +31,10 @@ func TestCompletionAtPos_BodySchema_Extensions(t *testing.T) {
31
31
"resource" : {
32
32
Labels : []* schema.LabelSchema {
33
33
{
34
- Name : "aws_instance " ,
34
+ Name : "type " ,
35
35
},
36
36
{
37
- Name : "foo " ,
37
+ Name : "name " ,
38
38
},
39
39
},
40
40
Body : & schema.BodySchema {
@@ -85,10 +85,10 @@ func TestCompletionAtPos_BodySchema_Extensions(t *testing.T) {
85
85
"resource" : {
86
86
Labels : []* schema.LabelSchema {
87
87
{
88
- Name : "aws_instance " ,
88
+ Name : "type " ,
89
89
},
90
90
{
91
- Name : "foo " ,
91
+ Name : "name " ,
92
92
},
93
93
},
94
94
Body : & schema.BodySchema {
@@ -116,10 +116,10 @@ func TestCompletionAtPos_BodySchema_Extensions(t *testing.T) {
116
116
"resource" : {
117
117
Labels : []* schema.LabelSchema {
118
118
{
119
- Name : "aws_instance " ,
119
+ Name : "type " ,
120
120
},
121
121
{
122
- Name : "foo " ,
122
+ Name : "name " ,
123
123
},
124
124
},
125
125
Body : & schema.BodySchema {
@@ -157,10 +157,10 @@ func TestCompletionAtPos_BodySchema_Extensions(t *testing.T) {
157
157
"resource" : {
158
158
Labels : []* schema.LabelSchema {
159
159
{
160
- Name : "aws_instance " ,
160
+ Name : "type " ,
161
161
},
162
162
{
163
- Name : "foo " ,
163
+ Name : "name " ,
164
164
},
165
165
},
166
166
Body : & schema.BodySchema {
@@ -210,7 +210,8 @@ func TestCompletionAtPos_BodySchema_Extensions(t *testing.T) {
210
210
Column : 13 ,
211
211
Byte : 55 ,
212
212
},
213
- }, NewText : "count.index" , Snippet : "count.index" },
213
+ },
214
+ NewText : "count.index" , Snippet : "count.index" },
214
215
Kind : lang .TraversalCandidateKind ,
215
216
},
216
217
}),
@@ -222,10 +223,10 @@ func TestCompletionAtPos_BodySchema_Extensions(t *testing.T) {
222
223
"resource" : {
223
224
Labels : []* schema.LabelSchema {
224
225
{
225
- Name : "aws_instance " ,
226
+ Name : "type " ,
226
227
},
227
228
{
228
- Name : "foo " ,
229
+ Name : "name " ,
229
230
},
230
231
},
231
232
Body : & schema.BodySchema {
@@ -254,10 +255,10 @@ func TestCompletionAtPos_BodySchema_Extensions(t *testing.T) {
254
255
"resource" : {
255
256
Labels : []* schema.LabelSchema {
256
257
{
257
- Name : "aws_instance " ,
258
+ Name : "type " ,
258
259
},
259
260
{
260
- Name : "foo " ,
261
+ Name : "name " ,
261
262
},
262
263
},
263
264
Body : & schema.BodySchema {
@@ -295,10 +296,10 @@ func TestCompletionAtPos_BodySchema_Extensions(t *testing.T) {
295
296
"resource" : {
296
297
Labels : []* schema.LabelSchema {
297
298
{
298
- Name : "aws_instance " ,
299
+ Name : "type " ,
299
300
},
300
301
{
301
- Name : "foo " ,
302
+ Name : "name " ,
302
303
},
303
304
},
304
305
Body : & schema.BodySchema {
0 commit comments