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

@@ -297,7 +297,7 @@ func TestApplyCreate(t *testing.T) {
t.Fatalf("Failed to create a resource with apply: %v", err)
}
cm := configMap.(*v1.ConfigMap)
assert.Equal(t, cm.Data, map[string]string{"k": "v"})
assert.Equal(t, map[string]string{"k": "v"}, cm.Data)
}
func TestApplyNoMeta(t *testing.T) {