Skip to content
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

Hackey fix for FileSys tests failing on OS X due to Unicode normalisation #6221

Merged
merged 2 commits into from
Jun 3, 2017
Merged

Conversation

Aurel300
Copy link
Member

The test fails because OS X normalises the Unicode file name given and creates a file whose filename is equivalent according to Unicode, but byte by byte it differs from the original.

This hackey fix is to simply use the normalised form that OS X converts to.

The proper solution is to support Unicode equivalence e.g. as Std.isUnicodeEquivalent(), and edit this test to check both Unicode forms.

@Simn Simn requested a review from andyli April 28, 2017 22:04
@Simn
Copy link
Member

Simn commented Jun 3, 2017

@andyli: Could you comment on this, and/or merge it?

@andyli
Copy link
Member

andyli commented Jun 3, 2017

I will just merge it now since I don't know what we will do with unicode...
See #3072 and #4773.

@andyli andyli merged commit b10710e into HaxeFoundation:development Jun 3, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants