Skip to content

fix: make camelToUpperSnake Unicode-safe for acronym boundaries - #8

Merged
masonkatz merged 2 commits into
mainfrom
fix/unicode-acronym-labels
Aug 22, 2026
Merged

fix: make camelToUpperSnake Unicode-safe for acronym boundaries#8
masonkatz merged 2 commits into
mainfrom
fix/unicode-acronym-labels

Conversation

@masonkatz

Copy link
Copy Markdown
Member

Summary

  • iterate and look ahead by rune rather than UTF-8 byte
  • add a Greek acronym-boundary regression test

Fixes #4

Validation

  • make test
  • make lint (currently reports five pre-existing goconst findings on origin/main)

@codecov

codecov Bot commented Aug 22, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 78.14%. Comparing base (8a905d7) to head (47871f1).

Additional details and impacted files
@@            Coverage Diff             @@
##             main       #8      +/-   ##
==========================================
+ Coverage   78.06%   78.14%   +0.08%     
==========================================
  Files           8        8              
  Lines         269      270       +1     
==========================================
+ Hits          210      211       +1     
  Misses         55       55              
  Partials        4        4              

☔ View full report in Codecov by Harness.
📢 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.

@masonkatz
masonkatz force-pushed the fix/unicode-acronym-labels branch from f5f4238 to 47871f1 Compare August 22, 2026 01:29
@masonkatz
masonkatz merged commit 5c5ec87 into main Aug 22, 2026
4 checks passed
@masonkatz
masonkatz deleted the fix/unicode-acronym-labels branch August 23, 2026 00:12
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.

fix: make camelToUpperSnake Unicode-safe for acronym boundaries

1 participant