mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-07 14:34:31 +08:00
in os.path.join completions, directories should not end in a slash
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user