We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In utils/ReleaseNameFromVersion could benifit from extended unit-tests.
RN
func TestReleaseNameFromVersion(t *testing.T) { for _, tc := range []struct { version string expectedName string }{ {version: "v0.0.1", expectedName: "hmc-0-0-1"}, {version: "v0.0.1-rc", expectedName: "hmc-0-0-1-rc"}, {version: "0.0.1", expectedName: "hmc-0-0-1"}, } { t.Run(tc.version, func(t *testing.T) { actual := ReleaseNameFromVersion(tc.version) if actual != tc.expectedName { t.Errorf("expected name %s, got %s", tc.expectedName, actual) } }) } }
Tests input does not cover semver in fully nor version gets validated for being valid semver
semver
The text was updated successfully, but these errors were encountered:
No branches or pull requests
In utils/ReleaseNameFromVersion could benifit from extended unit-tests.
RN
Tests input does not cover
semver
in fully nor version gets validated for being validsemver
The text was updated successfully, but these errors were encountered: