Skip to content

Commit

Permalink
Merge pull request #5948 from justinsb/testparse_more_versions
Browse files Browse the repository at this point in the history
Ensure we parse k8s versions through 1.16
  • Loading branch information
k8s-ci-robot authored Oct 15, 2018
2 parents 1fbc633 + 1e8e1bf commit dd3a004
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions pkg/k8sversion/version_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,12 @@ func TestParse(t *testing.T) {
{Input: "1.9.0", Expected: "1.9.0"},
{Input: "1.10.0", Expected: "1.10.0"},
{Input: "v1.1.0-alpha1", Expected: "1.1.0-alpha1"},
{Input: "1.11.0", Expected: "1.11.0"},
{Input: "1.12.0", Expected: "1.12.0"},
{Input: "1.13.0", Expected: "1.13.0"},
{Input: "1.14.0", Expected: "1.14.0"},
{Input: "1.15.0", Expected: "1.15.0"},
{Input: "1.16.0", Expected: "1.16.0"},
{Input: "https://example.com/v1.8.0-downloads", Expected: "1.8.0"},
}

Expand Down

0 comments on commit dd3a004

Please sign in to comment.