(self, text, width, expect, **kwargs)
| 1079 | class ShortenTestCase(BaseTestCase): |
| 1080 | |
| 1081 | def check_shorten(self, text, width, expect, **kwargs): |
| 1082 | result = shorten(text, width, **kwargs) |
| 1083 | self.check(result, expect) |
| 1084 | |
| 1085 | def test_simple(self): |
| 1086 | # Simple case: just words, spaces, and a bit of punctuation |
no test coverage detected