removed outer if statement as wasn't checking anything

pull/1304/head
olcuhu 2 years ago
parent b8490f57a3
commit e0645bca4f

@ -264,10 +264,8 @@ func TestGetKubernetesURL(t *testing.T) {
}
k8sURL := getKubernetesURL()
if !c.useDefault {
if k8sURL != c.expected {
t.Errorf("Expected %q but Got %q", k8sURL, c.expected)
}
if k8sURL != c.expected {
t.Errorf("Expected %q but Got %q", k8sURL, c.expected)
}
})
}

Loading…
Cancel
Save