Lines Matching refs:check_shorten
1024 def check_shorten(self, text, width, expect, **kwargs):
1032 self.check_shorten(text, 18, "Hello there, [...]")
1033 self.check_shorten(text, len(text), text)
1034 self.check_shorten(text, len(text) - 1,
1041 self.check_shorten(text, 17, "Hello there,$$", placeholder='$$')
1042 self.check_shorten(text, 18, "Hello there, how$$", placeholder='$$')
1043 self.check_shorten(text, 18, "Hello there, $$", placeholder=' $$')
1044 self.check_shorten(text, len(text), text, placeholder='$$')
1045 self.check_shorten(text, len(text) - 1,
1050 self.check_shorten("", 6, "")
1057 self.check_shorten(text, 62,
1060 self.check_shorten(text, 61,
1064 self.check_shorten("hello world! ", 12, "hello world!")
1065 self.check_shorten("hello world! ", 11, "hello [...]")
1068 self.check_shorten("hello world! ", 10, "[...]")
1076 self.check_shorten("Helloo", 5, "[...]")