-
Couldn't load subscription status.
- Fork 45
#1034: proper fix of VersionRange.contains for version patterns #1036
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -109,9 +109,12 @@ public void testContains() { | |
| checkContainsNot("(11,22)", "10*"); | ||
| checkContains("(11,22)", "11*"); | ||
| checkContains("(11,22)", "11.0*"); | ||
| checkContains("(11,22)", "22*"); | ||
| checkContains("(11,22)", "22.*"); | ||
| checkContains("(11,22)", "21.99*"); | ||
| checkContainsNot("(11,22)", "22*"); | ||
| checkContainsNot("(11,22)", "22.*"); | ||
| checkContainsNot("(11,22)", "23*"); | ||
| checkContains("(11,22)", "21.99*"); | ||
| checkContains("[22,)", "*"); | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I did not really get the sense of this check. If you substitute "[22,)" with Could you please add a small "//" comment to explain what is special with this test? |
||
| } | ||
|
|
||
| private void checkContains(String range, String version) { | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Due this line is identical to line 122 I think this is a copy/paste error and you forgot to add a "" between "99" and "*".