Commit bd4d98fa authored by Derek McQuay's avatar Derek McQuay

kubeadm: unit tests for app/master/manifests.go

parent 124dab6c
...@@ -61,7 +61,7 @@ func TestCreateCertsAndConfigForClients(t *testing.T) { ...@@ -61,7 +61,7 @@ func TestCreateCertsAndConfigForClients(t *testing.T) {
_, actual := CreateCertsAndConfigForClients(rt.a, rt.cn, caKey, caCert) _, actual := CreateCertsAndConfigForClients(rt.a, rt.cn, caKey, caCert)
if (actual == nil) != rt.expected { if (actual == nil) != rt.expected {
t.Errorf( t.Errorf(
"failed UseGivenTokenIfValid:\n\texpected: %t\n\t actual: %t", "failed CreateCertsAndConfigForClients:\n\texpected: %t\n\t actual: %t",
rt.expected, rt.expected,
(actual == nil), (actual == nil),
) )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment