-
-
Notifications
You must be signed in to change notification settings - Fork 33
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 builds on macOS #194
Fix builds on macOS #194
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.
awesome! I'm excited to see work done to make sure this works on all platforms
[TestCase("en_US", ExpectedResult = "[abcdefghijklmnopqrstuvwxyz]")] | ||
[TestCase("de_DE", ExpectedResult = "[aäbcdefghijklmnoöpqrsßtuüvwxyz]")] | ||
[TestCase("fr_FR", ExpectedResult = "[aàâæbcçdeéèêëfghiîïjklmnoôœpqrstuùûüvwxyÿz]")] |
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 is locale data so of course it could change or be reformatted.
If you have ICU here, you could actually parse it into a UnicodeSet and do a comparison there.
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.
substring containment might be a quicker option.. i.e. make sure that english contains a, b, z, German contains ß
etc.
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.
post merge lgtm
This resolves a number of problems with using icu-dotnet on macOS. It helps with a number of issues found in paranext/paranext-core#264.
This change adds macOS to the github builds so that future breaks should be caught by normal CI/CD workflows.