forked from VimPlug/jedi
Add another for in one line test for the fast parser.
This commit is contained in:
@@ -269,6 +269,15 @@ def test_for_on_one_line():
|
||||
""")
|
||||
check_fp(src, 2)
|
||||
|
||||
src = dedent("""\
|
||||
def hi():
|
||||
for x in foo: pass
|
||||
pass
|
||||
|
||||
pass
|
||||
""")
|
||||
check_fp(src, 2)
|
||||
|
||||
|
||||
def test_wrong_indentation():
|
||||
src = dedent("""\
|
||||
|
||||
Reference in New Issue
Block a user