Skip to content

fix(sentenceCase): normalize hyphen and underscore separators#89

Open
YuF-9468 wants to merge 1 commit intoZheruel:mainfrom
YuF-9468:fix-sentence-case-separators
Open

fix(sentenceCase): normalize hyphen and underscore separators#89
YuF-9468 wants to merge 1 commit intoZheruel:mainfrom
YuF-9468:fix-sentence-case-separators

Conversation

@YuF-9468
Copy link
Copy Markdown

Summary

  • normalize - and _ to spaces in sentenceCase output
  • keep existing sentence capitalization behavior unchanged
  • add regression assertions for hello-world and INVALID_USER_INPUT

Closes #83

Validation

  • npm test -- --run tests/sentenceCase.test.ts

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.

[BUG] sentenceCase actual output does not match with type hint/info and the expected example output

1 participant