Lines Matching refs:check_split
40 def check_split(self, text, expect): member in BaseTestCase
246 self.check_split(text, expect)
251 self.check_split(text, expect)
286 self.check_split(text, expect)
291 self.check_split("what the--hey!", ["what", " ", "the", "--", "hey!"])
292 self.check_split("what the--", ["what", " ", "the--"])
293 self.check_split("what the--.", ["what", " ", "the--."])
294 self.check_split("--text--.", ["--text--."])
300 self.check_split("--option", ["--option"])
301 self.check_split("--option-opt", ["--option-", "opt"])
302 self.check_split("foo --option-opt bar",
313 self.check_split("the 'wibble-wobble' widget",
315 self.check_split('the "wibble-wobble" widget',
317 self.check_split("the (wibble-wobble) widget",
319 self.check_split("the ['wibble-wobble'] widget",
325 self.check_split("foo (--option) bar",
329 self.check_split("foo (bar) baz",
331 self.check_split("blah (ding dong), wubba",