Skip to content

Bug: operators are swapped#15

Open
jessequinn wants to merge 1 commit intochainguard-dev:mainfrom
jessequinn:swapped-operators
Open

Bug: operators are swapped#15
jessequinn wants to merge 1 commit intochainguard-dev:mainfrom
jessequinn:swapped-operators

Conversation

@jessequinn
Copy link
Copy Markdown

Operators are swapped. verGreaterThanEqual is mapped to > and verGreaterThan is mapped to >=. They are backwards. The variable named VersionGreaterThanEqual should match >=, not >.

@jessequinn jessequinn force-pushed the swapped-operators branch 3 times, most recently from b006a15 to bf5120e Compare March 27, 2026 20:31
Copy link
Copy Markdown
Member

@stevebeattie stevebeattie left a comment

Choose a reason for hiding this comment

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

Nice catch. Is there any chance you could add test cases to parser_test.go for these?

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