-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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 File.dirname with unicode chars #8911
Conversation
Co-Authored-By: Sijawusz Pur Rahnama <sija@sija.pl>
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.
Ooops.
I'll take a look at all implementations to make sure they work with unicode strings. |
The rest of |
@straight-shoota Thank you for checking! If everything is good then I think we don't need to add those tests. |
@asterite Well, it's good for now, we just need to subtly break the implementation to find out we need these tests anyway, so why wait for it if we can be prepared? 👑 |
Yes, having such test would be great. But it requires also quite some effort to implement and review. IMO that effort is currently better put to use elsewhere. |
Fixes #8910
There are a lot of
+ 1
in the code that might be worth reviewing. If someone wants they can try adding unicode tests to all of theFile
orPath
methods to make sure they work well.