Test with content exactly at max_len.
(self)
| 279 | assert len(result) <= 105 |
| 280 | |
| 281 | def test_exact_length(self): |
| 282 | """Test with content exactly at max_len.""" |
| 283 | text = "x" * 100 |
| 284 | result = format_content_preview(text, max_len=100) |
| 285 | |
| 286 | # Should return as-is |
| 287 | assert result == text |
| 288 | |
| 289 | def test_custom_max_len(self): |
| 290 | """Test with custom max_len.""" |
nothing calls this directly
no test coverage detected