summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorKevin Van Brunt <kmvanbrunt@gmail.com>2018-03-02 16:44:09 -0500
committerKevin Van Brunt <kmvanbrunt@gmail.com>2018-03-02 16:44:09 -0500
commit0ec3c1d40962563cc5f5863e0d824343f43da13d (patch)
treecad46f7f9746ecd63c7ee5eb6e4d8eabbb44ba0e /tests
parent1ef418f1e2ef5a8dd553b2dc5ced104e6e655977 (diff)
downloadcmd2-git-0ec3c1d40962563cc5f5863e0d824343f43da13d.tar.gz
Fixed slicing bug
Diffstat (limited to 'tests')
-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 4a8d0eae..5bdbf457 100644
--- a/tests/test_completion.py
+++ b/tests/test_completion.py
@@ -643,7 +643,7 @@ def test_cmd2_subcommand_completion_single_end(sc_app):
def test_cmd2_subcommand_completion_single_mid(sc_app):
text = 'f'
- line = 'base f'
+ line = 'base fo'
endidx = len(line) - 1
begidx = endidx - len(text)
state = 0