Skip to content

Fix a camel case bug#4352

Merged
hansl merged 1 commit intoboa-dev:mainfrom
hansl:fix-camel-case-bug
Jul 25, 2025
Merged

Fix a camel case bug#4352
hansl merged 1 commit intoboa-dev:mainfrom
hansl:fix-camel-case-bug

Conversation

@hansl
Copy link
Contributor

@hansl hansl commented Jul 25, 2025

This fix adds a Middle state when the character is in the middle of the string, as camelCase should not lowercase those. This happens on short middle fragments of the string.

Add tests for it too.

This fix adds a Middle state when the character is in the middle of the
string, as camelCase should not lowercase those. This happens on short
middle fragments of the string.

Add tests for it too.
@hansl hansl requested a review from a team July 25, 2025 17:10
@codecov
Copy link

codecov bot commented Jul 25, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 50.30%. Comparing base (6ddc2b4) to head (4b43927).
⚠️ Report is 480 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #4352      +/-   ##
==========================================
+ Coverage   47.24%   50.30%   +3.05%     
==========================================
  Files         476      499      +23     
  Lines       46892    50288    +3396     
==========================================
+ Hits        22154    25296    +3142     
- Misses      24738    24992     +254     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@hansl hansl added this pull request to the merge queue Jul 25, 2025
Merged via the queue into boa-dev:main with commit 2d7ad1a Jul 25, 2025
16 checks passed
@hansl hansl deleted the fix-camel-case-bug branch July 25, 2025 19:17
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