Lines Matching refs:check_split
39 def check_split(self, text, expect): member in BaseTestCase
191 self.check_split(text, expect)
193 self.check_split('e-mail', ['e-mail'])
194 self.check_split('Jelly-O', ['Jelly-O'])
196 self.check_split('half-a-crown', 'half-|a-|crown'.split('|'))
265 self.check_split(text, expect)
270 self.check_split(text, expect)
305 self.check_split(text, expect)
310 self.check_split("what the--hey!", ["what", " ", "the", "--", "hey!"])
311 self.check_split("what the--", ["what", " ", "the--"])
312 self.check_split("what the--.", ["what", " ", "the--."])
313 self.check_split("--text--.", ["--text--."])
319 self.check_split("--option", ["--option"])
320 self.check_split("--option-opt", ["--option-", "opt"])
321 self.check_split("foo --option-opt bar",
332 self.check_split("the 'wibble-wobble' widget",
334 self.check_split('the "wibble-wobble" widget',
336 self.check_split("the (wibble-wobble) widget",
338 self.check_split("the ['wibble-wobble'] widget",
342 self.check_split("what-d'you-call-it.",
348 self.check_split("foo (--option) bar",
352 self.check_split("foo (bar) baz",
354 self.check_split("blah (ding dong), wubba",