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

README example, wrong argument #1

Closed
rikkimax opened this issue Apr 2, 2015 · 1 comment
Closed

README example, wrong argument #1

rikkimax opened this issue Apr 2, 2015 · 1 comment

Comments

@rikkimax
Copy link

rikkimax commented Apr 2, 2015

Wrong:

auto versionRange = SemVerRange(">=1.0.0");
assert(versionRange.isValid);

assert(SemVer("1.0.1").satisfies(version));
assert(SemVer("1.1.0").satisfies(version));

Correct:

auto versionRange = SemVerRange(">=1.0.0");
assert(versionRange.isValid);

assert(SemVer("1.0.1").satisfies(versionRange));
assert(SemVer("1.1.0").satisfies(versionRange));
@dcarp
Copy link
Owner

dcarp commented Apr 2, 2015

Fixed... Thanks!

@dcarp dcarp closed this as completed Apr 2, 2015
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

No branches or pull requests

2 participants