这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@dubzzz
Copy link
Contributor

@dubzzz dubzzz commented Mar 31, 2018

Current version of the code does not handle properly the case where we give it 13 characters outside of the BMP plan of unicode.

Basically passing it a string containing 13 cats fails:
"🐱🐱🐱🐱🐱🐱🐱🐱🐱🐱🐱🐱🐱"

This pull request adds both:

  • the code to check for such characters (detection of surrogate pairs)
  • the property based test that helped me to find the issue
  • the unit test checking on the cat character

@dubzzz
Copy link
Contributor Author

dubzzz commented May 1, 2019

@jezen Any opinion concerning this PR?

@jezen
Copy link
Owner

jezen commented May 2, 2019

When I first started this repository, I had just two things in my possession — a dream, and £6,000,000.

Today, I have an is-thirteen project the like of which, the world has never seen the like of which.

I hope it doesn't sound arrogant when I say that this project is the greatest project in the world.

I am confident your splendid pull request will raise the number of GitHub stars for this repository to eighteen hundred billion billion.

@jezen jezen merged commit a2f402e into jezen:master May 2, 2019
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.

2 participants