Skip to content

Commit

Permalink
Fix test case: invalid version should not trigger network operations
Browse files Browse the repository at this point in the history
  • Loading branch information
kad committed Aug 22, 2018
1 parent 5930ea3 commit 7f5b51f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/kubeadm/test/cmd/init_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,8 @@ func TestCmdInitKubernetesVersion(t *testing.T) {
expected bool
}{
{
name: "invalid version string is detected",
args: "--kubernetes-version=foobar",
name: "invalid semantic version string is detected",
args: "--kubernetes-version=v1.1",
expected: false,
},
{
Expand Down

0 comments on commit 7f5b51f

Please sign in to comment.