Test padding with Chinese characters.
(self)
| 140 | assert len(result) == 7 |
| 141 | |
| 142 | def test_chinese_padding(self): |
| 143 | """Test padding with Chinese characters.""" |
| 144 | result = pad_to_width("你好", 10) |
| 145 | # "你好" is 4 display width, so needs 6 spaces |
| 146 | assert calculate_display_width(result) == 10 |
| 147 | |
| 148 | def test_emoji_padding(self): |
| 149 | """Test padding with emoji.""" |
nothing calls this directly
no test coverage detected