1
0
forked from VimPlug/jedi

in os.path.join completions, directories should not end in a slash

This commit is contained in:
Dave Halter
2019-08-07 01:37:58 +02:00
parent 5726c29385
commit 1b064c1078
2 changed files with 6 additions and 5 deletions

View File

@@ -215,6 +215,7 @@ os_path = 'from os.path import *\n'
(f2, os_path + 'join(dirname(__file__), "completion", "basi")', 43, ['c.py']),
(f2, os_path + 'join(dirname(__file__), "completion", "basi)', 35, []),
(f2, os_path + 'join(dirname(__file__), "completion", "basi)', 33, ['on']),
(f2, os_path + 'join(dirname(__file__), "completion", "basi")', 33, ['on']),
]
)
def test_file_path_completions(Script, file, code, column, expected):