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
test: add edge case tests for truncate_description
Add comprehensive test coverage for edge cases:
- Very small max_length values
- CJK characters that don't fit in target length
- Emoji (4-byte UTF-8 characters)
- Mixed ASCII and CJK text
- Single CJK character within limit
All tests verify UTF-8 safe truncation behavior.
0 commit comments