Skip to content
New issue

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

🐛 Update the label value format as per new format #342

Merged
merged 2 commits into from
Sep 27, 2023

Conversation

pranavgaikwad
Copy link
Contributor

@pranavgaikwad pranavgaikwad commented Sep 26, 2023

Forgot to update the regex which actually does the match, also added a new unit test to catch that flow in future

@@ -159,6 +159,12 @@ func TestParseLabel(t *testing.T) {
wantKey: "konveyor.io/fact",
wantVal: "Spring Beans",
},
{
name: "version ranges in values",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should we add tests for the +, - variations as well?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@fabianvf added

Signed-off-by: Pranav Gaikwad <[email protected]>
@pranavgaikwad pranavgaikwad merged commit 82b9629 into konveyor:main Sep 27, 2023
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants