We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
/
Hey! I just found inflection.camelize('/') return ::
inflection.camelize('/')
::
I consider it a bug since camelize should only care about underscore chars.
Once confirmed by an author that it's a bug, I'm happy to implement a fix.
Here is a code I used to encounter a bug:
const inflection = require('inflection'); const fc = require('fast-check'); describe('inflection', () => { it('camelizes properly', () => { fc.assert( fc.property(fc.string(), fc.context(), (text, context) => { const camelized = inflection.camelize(text); context.log(camelized); expect(camelized.length).toBeLessThanOrEqual(text.length); }) ); }); });
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hey! I just found
inflection.camelize('/')
return::
I consider it a bug since camelize should only care about underscore chars.
Once confirmed by an author that it's a bug, I'm happy to implement a fix.
Here is a code I used to encounter a bug:
The text was updated successfully, but these errors were encountered: