Repository navigation
Support floating prerelease and stable packages at the same time with the same version range (enable absolute latest scenario) (*-*) - #3247
Conversation
|
Thanks for the review @awesley. :) |
b9882c7 to
dad63c9
Compare
| var valid = FloatRange.TryParse(floatVersionString, out range); | ||
|
|
||
| // Assert | ||
| Assert.True(valid); |
There was a problem hiding this comment.
Can range verification added in the test as well?
There was a problem hiding this comment.
Can you clarify what specifically you are referring to?
|
@donnie-msft Addressed feedback in the latest commit. |
There was a problem hiding this comment.
@donnie-msft Addressed feedback in the latest commit.
Resolved the accepted comments, replied to the other 2.
Thanks. Looks good, but I'll let someone else approve to overrule on the coding guideline.
|
I have change the test names and moved them around in better classes as per what I suggested in the TODO that @donnie-msft commented on #3247 (comment). PTAL. |
dominoFire
left a comment
There was a problem hiding this comment.
Looks good. Just style and variable assigments comments.
|
I broke my tests somehow :( |
|
I had an off by 2 error. Will merge once tests are green. |
Bug
Fixes: NuGet/Home#912
Regression: No
Fix
Details: Spec at https://github.com/NuGet/Home/blob/dev/designs/FloatingStableAndPrerelease.md
You can test out the implementation at the following link
Testing/Validation
Tests Added: Yes
Reason for not adding tests:
Validation: Lots of unit tests, covering all scenarios.