-
Notifications
You must be signed in to change notification settings - Fork 5k
Fix globalization test on mobile platforms #115248
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 globalization test on mobile platforms #115248
Conversation
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.
Pull Request Overview
This pull request fixes a globalization test issue on mobile platforms by updating the test data used in CultureInfo constructor tests.
- Added a new test data method (Ctor_Undetermined_TestData) that provides platform-specific expected results.
- Refactored the test method to use MemberData, allowing conditional test data based on the detected platform.
src/libraries/System.Runtime/tests/System.Globalization.Tests/CultureInfo/CultureInfoCtor.cs
Show resolved
Hide resolved
/azp run runtime-ioslike,runtime-ioslikesimulator,runtime-maccatalyst |
Azure Pipelines successfully started running 2 pipeline(s). |
…CultureInfo/CultureInfoCtor.cs Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
/azp run runtime-ioslike,runtime-ioslikesimulator,runtime-maccatalyst |
Azure Pipelines successfully started running 2 pipeline(s). |
/azp run runtime-ioslike,runtime-ioslikesimulator,runtime-maccatalyst |
Azure Pipelines successfully started running 2 pipeline(s). |
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 the quick fix.
Fixes #115238