mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-08 06:44:46 +08:00
Fix an issue with whitespace after a dot at the end of a file, also part of #1748
This commit is contained in:
@@ -457,3 +457,7 @@ def test_module_completions(Script, module):
|
||||
# Just make sure that there are no errors
|
||||
c.type
|
||||
c.docstring()
|
||||
|
||||
|
||||
def test_whitespace_at_end_after_dot(Script):
|
||||
assert 'strip' in [c.name for c in Script('str. ').complete()]
|
||||
|
||||
Reference in New Issue
Block a user