diff --git a/cmd/util_test.go b/cmd/util_test.go index eb1b90fb7145fd7d3dafb07f684215fd3a14b6b1..1f3e5a2454e7c1477ee24a02fe80b500541c0519 100644 --- a/cmd/util_test.go +++ b/cmd/util_test.go @@ -189,13 +189,13 @@ func TestGetBinaries(t *testing.T) { { // more than one component config: map[string]interface{}{"components": []string{"apiserver", "thing"}, "apiserver": map[string]interface{}{"bins": []string{"apiserver", "kube-apiserver"}}, "thing": map[string]interface{}{"bins": []string{"something else", "thing"}}}, - psOut: "kube-apiserver thing", + psOut: "kube-apiserver \nthing", exp: map[string]string{"apiserver": "kube-apiserver", "thing": "thing"}, }, { // default binary to component name config: map[string]interface{}{"components": []string{"apiserver", "thing"}, "apiserver": map[string]interface{}{"bins": []string{"apiserver", "kube-apiserver"}}, "thing": map[string]interface{}{"bins": []string{"something else", "thing"}, "optional": true}}, - psOut: "kube-apiserver otherthing", + psOut: "kube-apiserver \notherthing some params", exp: map[string]string{"apiserver": "kube-apiserver", "thing": "thing"}, }, }