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

Fix semver:compare function #3

Merged
merged 5 commits into from
Feb 6, 2021
Merged

Conversation

joewiz
Copy link
Member

@joewiz joewiz commented Feb 5, 2021

Fixes a bug in the semver:compare function that caused an error to be thrown when calling it, e.g., semver:compare("1.0.0", "1.0.0"). Adds tests to prevent regressions. Other minor cleanup.

@joewiz joewiz requested a review from a team February 5, 2021 19:01
Copy link
Member

@line-o line-o left a comment

Choose a reason for hiding this comment

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

Great work! 🎉😎
I would like to see a test with additional info e.g. "1.0.0-pre1". But they can be added at a later point.

@line-o line-o merged commit d57aa73 into eXist-db:master Feb 6, 2021
@joewiz joewiz deleted the fix-compare branch February 6, 2021 16:37
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