summaryrefslogtreecommitdiff
path: root/tests/test_autocompletion.py
diff options
context:
space:
mode:
authorEric Lin <anselor@gmail.com>2018-05-18 18:53:44 -0400
committerEric Lin <anselor@gmail.com>2018-05-18 18:53:44 -0400
commit6652557779faa0cdc4aac781e62f2b4f3b44b836 (patch)
tree4b43ff8c0a89452174775d203cd89f8a050c1763 /tests/test_autocompletion.py
parent8125d45412cce07b1316ef19fdcbc98deeb0a57a (diff)
downloadcmd2-git-6652557779faa0cdc4aac781e62f2b4f3b44b836.tar.gz
Some fixes to autocompleter to make it easier to do delimited and file completion. Saving state - more to come.
Diffstat (limited to 'tests/test_autocompletion.py')
-rw-r--r--tests/test_autocompletion.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_autocompletion.py b/tests/test_autocompletion.py
index 1d0c9678..5132a1d8 100644
--- a/tests/test_autocompletion.py
+++ b/tests/test_autocompletion.py
@@ -246,7 +246,7 @@ def test_autcomp_pos_consumed(cmd2_app):
def test_autcomp_pos_after_flag(cmd2_app):
text = 'Joh'
- line = 'media movies add -d "George Lucas" -- "Han Solo" PG "Emilia Clarke" "{}'.format(text)
+ line = 'video movies add -d "George Lucas" -- "Han Solo" PG "Emilia Clarke" "{}'.format(text)
endidx = len(line)
begidx = endidx - len(text)