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
This prints true:
c, _ := semver.NewConstraint("2") v, _ := semver.NewVersion("2.2.3") fmt.Println(c.Check(v))
While this prints false:
c, _ := semver.NewConstraint("2.2") v, _ := semver.NewVersion("2.2.3") fmt.Println(c.Check(v))
Is that intentional? If not I can fire off a PR.
The text was updated successfully, but these errors were encountered:
@alecthomas Thanks for catching this. You did find a bug.
Sorry, something went wrong.
Actually, what version of sermver are you using? In semver v3 I do not get the same result as you. See https://play.golang.org/p/DhG4bHORwf-
No branches or pull requests
This prints true:
While this prints false:
Is that intentional? If not I can fire off a PR.
The text was updated successfully, but these errors were encountered: