summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/test_completion.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_completion.py b/tests/test_completion.py
index 37630159..af903794 100644
--- a/tests/test_completion.py
+++ b/tests/test_completion.py
@@ -359,7 +359,7 @@ def test_path_completion_cwd():
completions_empty = path_complete(text, line, begidx, endidx)
# Run path complete with path set to the CWD
- cwd = os.getcwd()
+ cwd = os.getcwd() + os.path.sep
line = 'shell ls {}'.format(cwd)
endidx = len(line)
begidx = endidx - len(text)