fix: enable expected-actual rule from testifylint in module k8s.io/client-go

Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>

Kubernetes-commit: 8286a69034d58e1ceafd6a6e5590bfcebd920b5b
This commit is contained in:
Matthieu MOREL
2024-09-27 07:48:55 +02:00
committed by Kubernetes Publisher
parent ea4f3d0f6f
commit 9d7f486102
6 changed files with 19 additions and 19 deletions

View File

@@ -148,7 +148,7 @@ func TestEnvVarFeatureGates(t *testing.T) {
}
for expectedFeature, expectedValue := range scenario.expectedFeaturesState {
actualValue := target.Enabled(expectedFeature)
require.Equal(t, actualValue, expectedValue, "expected feature=%v, to be=%v, not=%v", expectedFeature, expectedValue, actualValue)
require.Equal(t, expectedValue, actualValue, "expected feature=%v, to be=%v, not=%v", expectedFeature, expectedValue, actualValue)
}
enabledViaEnvVarInternalMap := target.enabledViaEnvVar.Load().(map[Feature]bool)