summaryrefslogtreecommitdiff
path: root/tests/test_completion.py
diff options
context:
space:
mode:
authorKevin Van Brunt <kmvanbrunt@gmail.com>2018-08-02 23:49:08 -0400
committerKevin Van Brunt <kmvanbrunt@gmail.com>2018-08-02 23:49:08 -0400
commit9a5fb90f18e90dbecf3a33337bbda36403b2256d (patch)
treee024487508974a3d234f1ae4c84d009323a82a3c /tests/test_completion.py
parentc79e56d4a3a41bd2d4b152a27c2334fd9d238fd4 (diff)
downloadcmd2-git-9a5fb90f18e90dbecf3a33337bbda36403b2256d.tar.gz
Updated docs and unit tests
Diffstat (limited to 'tests/test_completion.py')
-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 d50ad039..00a120cc 100644
--- a/tests/test_completion.py
+++ b/tests/test_completion.py
@@ -252,7 +252,7 @@ def test_path_completion_multiple(cmd2_app, request):
endidx = len(line)
begidx = endidx - len(text)
- matches = sorted(cmd2_app.path_complete(text, line, begidx, endidx))
+ matches = cmd2_app.path_complete(text, line, begidx, endidx)
expected = [text + 'cript.py', text + 'cript.txt', text + 'cripts' + os.path.sep]
assert matches == expected