-
Notifications
You must be signed in to change notification settings - Fork 69
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
Fix package id case-insensitivity in different places #1
base: dev
Are you sure you want to change the base?
Conversation
@derigel23 please add some unit tests for this |
@derigel23 preferrably, please elaborate on what is the failing scenario here? Provide unit tests that fail before the fix and pass after. |
@derigel23 we can't keep this open without progress. Please let us know if you intend to put more work here. |
@yishaigalatzer I'll make a test in day or two |
I've added indirect test for PackageEqualityComparer.Id |
@@ -180,7 +180,7 @@ public void GetPackageReturnsAllVersionsIfAllVersionsFlagIsSet() | |||
|
|||
// Assert | |||
Assert.Equal(5, packages.Count()); | |||
AssertPackage(new { Id = "jQuery", Ver = "1.44" }, packages.ElementAt(0)); | |||
AssertPackage(new { Id = "JQuery", Ver = "1.44" }, packages.ElementAt(0)); |
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.
This should be a separate test, each test should represent one feature/behavior tested to the degree possible
@emgarten can you please review and merge for 3.3? |
@emgarten ping |
@yishaigalatzer @emgarten ping |
@derigel23 I'll take another look at merging this for 2.12 |
No description provided.