diff options
| author | Kevin Van Brunt <kmvanbrunt@gmail.com> | 2018-03-02 16:44:09 -0500 |
|---|---|---|
| committer | Kevin Van Brunt <kmvanbrunt@gmail.com> | 2018-03-02 16:44:09 -0500 |
| commit | 0ec3c1d40962563cc5f5863e0d824343f43da13d (patch) | |
| tree | cad46f7f9746ecd63c7ee5eb6e4d8eabbb44ba0e /tests | |
| parent | 1ef418f1e2ef5a8dd553b2dc5ced104e6e655977 (diff) | |
| download | cmd2-git-0ec3c1d40962563cc5f5863e0d824343f43da13d.tar.gz | |
Fixed slicing bug
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/test_completion.py | 2 |
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 |
