You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
tests: split capitalize regression test and clarify comments
- Split test_capitalize_empty_name_part_has_no_leading_space_in_surnames
into three focused tests (normal path, force=True path, list invariants)
so failures self-localize to the scenario
- Added test_capitalize_title_and_last_only_no_spurious_tokens covering
a name with empty first and middle simultaneously
- Sharpened inline comments to accurately describe root cause and why
force=True matters (early-return guard)
- Added comment to suffix_list line explaining the intentional split(', ')
asymmetry vs the space-delimited attributes
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
0 commit comments