Skip to content

Commit

Permalink
add extra testcase for pre-release version
Browse files Browse the repository at this point in the history
  • Loading branch information
Carlos Rodriguez committed Dec 18, 2023
1 parent 15fa741 commit 87611b4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions e2e/semverutil/semver_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ func TestIsSupported(t *testing.T) {
{"supported semantic version", "v6.1.0", true},
{"supported semantic version", "v7.1.0", true},
{"supported semantic version", "v22.5.1", true},
{"supported semantic version pre-release", "v6.0.0-rc.0", false},
{"supported semantic version without v", "2.5.0", true},
{"unsupported semantic version", "v1.5.0", false},
{"unsupported semantic version", "v2.4.5", false},
Expand Down

0 comments on commit 87611b4

Please sign in to comment.