-
Notifications
You must be signed in to change notification settings - Fork 166
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 isspace edge case #2489
Fix isspace edge case #2489
Conversation
Added the test, and also noticed a bug in the C++ implementation, so fixed the same. |
Ohh what's this ? Have you tested it out ? |
It is the same edge case, just for constant empty strings as well. I will write a test for it as well. |
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.
I think this is fine.
@anutosh491 can you please review & merge?
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.
Looks good, Merging !
An empty string should return
False
when theisspace
method is called.