1
0
forked from VimPlug/jedi

fix for problems with incomplete one liner string literals, after a start of an incomplete string literal the whole line should be seen as an error token

This commit is contained in:
Dave Halter
2014-04-19 13:56:04 +02:00
parent 54568c1868
commit bb6874bc7c
2 changed files with 14 additions and 6 deletions

View File

@@ -162,8 +162,10 @@ class TestCallSignatures(TestCase):
assert x == ['*args']
def test_additional_brackets(self):
s = 'str(('
self._run(s, 'str', 0)
self._run('str((', 'str', 0)
def test_unterminated_strings(self):
self._run('str(";', 'str', 0)
class TestParams(TestCase):