-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
#51371 removed CaseInsensitivePlatforms and CaseSensitivePlatforms parameters #64440
#51371 removed CaseInsensitivePlatforms and CaseSensitivePlatforms parameters #64440
Conversation
Tagging subscribers to this area: @dotnet/area-system-io Issue DetailsRefactored casesesintive test cases to use IsCaseSensitiveOS and IsCaseInsensitiveOS.
|
/azp run runtime-extra-platforms |
Azure Pipelines successfully started running 1 pipeline(s). |
@@ -224,8 +224,7 @@ public void WindowsWhiteSpaceAsPath_ReturnsFalse(string component) | |||
|
|||
} | |||
|
|||
[Fact] | |||
[PlatformSpecific(CaseInsensitivePlatforms)] | |||
[ConditionalFact(typeof(PlatformDetection), nameof(PlatformDetection.IsCaseInsensitiveOS))] |
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.
just for my education: what is the benefit of doing that?
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.
As we had 2 ways to check "case sensitivity" having only one will make it it less confusing. And I kept boolean parameter because in some places only bool can be used.
If you put the issue ID in the description then it becomes hyperlinked. You can also put "Fixes ..." if the merge should close the issue. |
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.
LGTM, thank you for explaining me why this change was needed.
#51371 Refactored casesesintive test cases to use IsCaseSensitiveOS and IsCaseInsensitiveOS.