@@ -59,7 +59,7 @@ func TestAccEC2Instance_List_Basic(t *testing.T) {
59
59
Query : true ,
60
60
ProtoV5ProviderFactories : acctest .ProtoV5ProviderFactories ,
61
61
ConfigDirectory : config .StaticDirectory ("testdata/Instance/list_basic/" ),
62
- ConfigQueryResultChecks : []querycheck.QueryResultCheck {
62
+ QueryResultChecks : []querycheck.QueryResultCheck {
63
63
querycheck .ExpectIdentity ("aws_instance.test" , map [string ]knownvalue.Check {
64
64
names .AttrAccountID : tfknownvalue .AccountID (),
65
65
names .AttrRegion : knownvalue .StringExact (acctest .Region ()),
@@ -127,7 +127,7 @@ func TestAccEC2Instance_List_RegionOverride(t *testing.T) {
127
127
ConfigVariables : config.Variables {
128
128
"region" : config .StringVariable (acctest .AlternateRegion ()),
129
129
},
130
- ConfigQueryResultChecks : []querycheck.QueryResultCheck {
130
+ QueryResultChecks : []querycheck.QueryResultCheck {
131
131
querycheck .ExpectIdentity ("aws_instance.test" , map [string ]knownvalue.Check {
132
132
names .AttrAccountID : tfknownvalue .AccountID (),
133
133
names .AttrRegion : knownvalue .StringExact (acctest .AlternateRegion ()),
@@ -190,7 +190,7 @@ func TestAccEC2Instance_List_Filtered(t *testing.T) {
190
190
Query : true ,
191
191
ProtoV5ProviderFactories : acctest .ProtoV5ProviderFactories ,
192
192
ConfigDirectory : config .StaticDirectory ("testdata/Instance/list_filtered/" ),
193
- ConfigQueryResultChecks : []querycheck.QueryResultCheck {
193
+ QueryResultChecks : []querycheck.QueryResultCheck {
194
194
querycheck .ExpectIdentity ("aws_instance.test" , map [string ]knownvalue.Check {
195
195
names .AttrAccountID : tfknownvalue .AccountID (),
196
196
names .AttrRegion : knownvalue .StringExact (acctest .Region ()),
@@ -241,10 +241,10 @@ func TestAccEC2Instance_List_ExcludeAutoScaled(t *testing.T) {
241
241
ConfigVariables : config.Variables {
242
242
acctest .CtRName : config .StringVariable (rName ),
243
243
},
244
- ConfigQueryResultChecks : []querycheck.QueryResultCheck {
245
- querycheck .ExpectLength ("aws_instance.excluded" , knownvalue . Int64Exact ( 0 ) ),
244
+ QueryResultChecks : []querycheck.QueryResultCheck {
245
+ querycheck .ExpectLength ("aws_instance.excluded" , 0 ),
246
246
247
- querycheck .ExpectLength ("aws_instance.included" , knownvalue . Int64Exact ( 1 ) ),
247
+ querycheck .ExpectLength ("aws_instance.included" , 1 ),
248
248
},
249
249
},
250
250
},
0 commit comments