summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorFelix Yan <felixonmars@archlinux.org>2017-07-10 00:40:05 +0800
committerFelix Yan <felixonmars@archlinux.org>2017-07-10 00:40:05 +0800
commiteaa730c64eb717d138532b8c87d26f77d779afdb (patch)
tree17247fca47e35ddfe2253456a5b0addbf59d3b24 /tests
parentc37ba6f32f76b151b9ffc279ddc22af913336847 (diff)
downloadcmd2-git-eaa730c64eb717d138532b8c87d26f77d779afdb.tar.gz
Avoid conflict the `eg` tool from go-tools
With go-tools installed there is an `eg` command in system search path. Let's add an additional character to avoid the test failure.
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 180a65d8..a219a904 100644
--- a/tests/test_completion.py
+++ b/tests/test_completion.py
@@ -87,7 +87,7 @@ def test_shell_command_completion(cmd2_app):
line = 'shell {}'.format(text)
expected = ['calc.exe ']
else:
- text = 'eg'
+ text = 'egr'
line = '!{}'.format(text)
expected = ['egrep ']