From 87611b48e669a1d655fcb941485fdd752f196350 Mon Sep 17 00:00:00 2001 From: Carlos Rodriguez Date: Mon, 18 Dec 2023 08:48:15 +0100 Subject: [PATCH] add extra testcase for pre-release version --- e2e/semverutil/semver_test.go | 1 + 1 file changed, 1 insertion(+) diff --git a/e2e/semverutil/semver_test.go b/e2e/semverutil/semver_test.go index b2b44f1d318..b90c2832da8 100644 --- a/e2e/semverutil/semver_test.go +++ b/e2e/semverutil/semver_test.go @@ -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},