def test_argument_splitter_multi_line(self):
        orig = """\
(foo
 bar
 baz)"""
        m = ARGUMENT_SPLITTER.match(orig)
        self.assertEqual(orig, m.string)
        orig = """\
(
  foo
  bar
  baz
)"""
        m = ARGUMENT_SPLITTER.match(orig)
        self.assertEqual(orig, m.string)
示例#2
0
    def test_argument_splitter_multi_line(self):
        orig = """\
(foo
 bar
 baz)"""
        m = ARGUMENT_SPLITTER.match(orig)
        self.assertEqual(orig, m.string)
        orig = """\
(
  foo
  bar
  baz
)"""
        m = ARGUMENT_SPLITTER.match(orig)
        self.assertEqual(orig, m.string)
 def test_argument_splitter_single_line(self):
     orig = "(foo bar)"
     m = ARGUMENT_SPLITTER.match(orig)
     self.assertEqual(orig, m.string)
示例#4
0
 def test_argument_splitter_single_line(self):
     orig = "(foo bar)"
     m = ARGUMENT_SPLITTER.match(orig)
     self.assertEqual(orig, m.string)