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

Proper fix for stringcase and add unit test #36

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

andy31415
Copy link

This fixes the breakage in #23 and adds a unit tests and fixes the case for the spacing that the original attempt for fixing addressed.

@andy31415
Copy link
Author

Overall I am unsure about stringcase and pascalcase test coverage.
current pip install does things like:

>>> import stringcase
>>> stringcase.camelcase('THIS_IS_A_TEST')
'tHIS_IS_A_TEST'
>>> stringcase.camelcase('With Some Spaces')
'witompaces'
>>>

Which seem somewhat unexpected. Ideally I would get thisIsATest or withSomeSpaces .... seems we may go down a rabbit hole here.

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