File tree Expand file tree Collapse file tree 1 file changed +13
-13
lines changed
internal/controller/state/graph Expand file tree Collapse file tree 1 file changed +13
-13
lines changed Original file line number Diff line number Diff line change @@ -1269,22 +1269,22 @@ func TestBuildGraph(t *testing.T) {
1269
1269
}
1270
1270
1271
1271
tests := []struct {
1272
- store ClusterState
1273
- expected * Graph
1274
- name string
1275
- experimental bool
1272
+ store ClusterState
1273
+ expected * Graph
1274
+ name string
1275
+ experimentalEnabled bool
1276
1276
}{
1277
1277
{
1278
- store : createStateWithGatewayClass (normalGC ),
1279
- expected : createExpectedGraphWithGatewayClass (normalGC ),
1280
- experimental : false ,
1281
- name : "normal case" ,
1278
+ store : createStateWithGatewayClass (normalGC ),
1279
+ expected : createExpectedGraphWithGatewayClass (normalGC ),
1280
+ experimentalEnabled : false ,
1281
+ name : "normal case" ,
1282
1282
},
1283
1283
{
1284
- store : createStateWithGatewayClass (differentControllerGC ),
1285
- expected : & Graph {},
1286
- experimental : true ,
1287
- name : "gatewayclass belongs to a different controller" ,
1284
+ store : createStateWithGatewayClass (differentControllerGC ),
1285
+ expected : & Graph {},
1286
+ experimentalEnabled : true ,
1287
+ name : "gatewayclass belongs to a different controller" ,
1288
1288
},
1289
1289
}
1290
1290
@@ -1315,7 +1315,7 @@ func TestBuildGraph(t *testing.T) {
1315
1315
PolicyValidator : fakePolicyValidator ,
1316
1316
},
1317
1317
logr .Discard (),
1318
- test .experimental ,
1318
+ test .experimentalEnabled ,
1319
1319
)
1320
1320
1321
1321
g .Expect (helpers .Diff (test .expected , result )).To (BeEmpty ())
You can’t perform that action at this time.
0 commit comments