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

Is this correct behaviour when comparing versions #38

Closed
piotrooo opened this issue Jul 22, 2022 · 0 comments · Fixed by #45
Closed

Is this correct behaviour when comparing versions #38

piotrooo opened this issue Jul 22, 2022 · 0 comments · Fixed by #45
Assignees
Labels
bug Something isn't working
Milestone

Comments

@piotrooo
Copy link
Member

Using

compile 'com.vdurmont:semver4j:2.0.3'
Semver A = new Semver("2.0", Semver.SemverType.LOOSE);
Semver B = new Semver("2.0.0", Semver.SemverType.LOOSE);
A.isGreaterThan(B); // -> false
B.isGreaterThan(A); // -> false
B.isEquivalentTo(A); // -> false
A.isEquivalentTo(B); // -> false
B.isLowerThan(A); // -> true
A.isLowerThan(B); // -> true

Original issue: vdurmont/semver4j#15

@piotrooo piotrooo added the bug Something isn't working label Jul 22, 2022
@piotrooo piotrooo added this to the v2.0.0 milestone Jul 22, 2022
@piotrooo piotrooo self-assigned this Jul 22, 2022
piotrooo added a commit that referenced this issue Jul 22, 2022
@piotrooo piotrooo linked a pull request Jul 22, 2022 that will close this issue
piotrooo added a commit that referenced this issue Jul 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant