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)
Exemplo n.º 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)
Exemplo n.º 4
0
 def test_argument_splitter_single_line(self):
     orig = "(foo bar)"
     m = ARGUMENT_SPLITTER.match(orig)
     self.assertEqual(orig, m.string)