mirror of
https://github.com/kubernetes/client-go.git
synced 2025-09-20 18:48:02 +00:00
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:
committed by
Kubernetes Publisher
parent
ea4f3d0f6f
commit
9d7f486102
@@ -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) {
|
||||
|
Reference in New Issue
Block a user