test utils: replace literal slice declarations with nil slices
See
@@ -2644,7 +2644,7 @@ func DisableFeatureGate(feature string) {
}
}
- newArray := []string{}
+ var newArray []string
featureGates := kv.Spec.Configuration.DeveloperConfiguration.FeatureGates
for _, fg := range featureGates {
if fg == feature {
