diff options
author | Todd Leonhardt <todd.leonhardt@gmail.com> | 2017-07-05 12:14:40 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-07-05 12:14:40 -0400 |
commit | 77dcf8c70e7182d23c44a6f5fcbbd75bf4efdd67 (patch) | |
tree | f6b29723b146d3f58e90e0f983419a04bf460262 /tests | |
parent | 4586d87d24ce3ed33d0e63743c5cbea41e7c5bc0 (diff) | |
parent | 9839eb530a8909365ae4d64a074eaa14cb12c1fd (diff) | |
download | cmd2-git-77dcf8c70e7182d23c44a6f5fcbbd75bf4efdd67.tar.gz |
Merge pull request #173 from python-cmd2/expansion_test
Fix a bug in a unit test which can happen in atypical circumstances
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 36172616..180a65d8 100644 --- a/tests/test_completion.py +++ b/tests/test_completion.py @@ -238,7 +238,7 @@ def test_path_completion_user_expansion(cmd2_app): if sys.platform.startswith('win'): line = '!dir ~\{}'.format(text) else: - line = '!ls ~{}'.format(text) + line = '!ls ~/{}'.format(text) endidx = len(line) begidx = endidx - len(text) completions_tilde = cmd2_app.path_complete(text, line, begidx, endidx) |