Fix an issue with whitespace after a dot at the end of a file, also part of #1748

This commit is contained in:
Dave Halter committed 2021-11-17 00:31:46 +01:00
1 parent 8bc9c8cda2
commit 84d086a47b
3 files changed
+15 -1

No files matched your search

+4
View File
@@ -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()]