summaryrefslogtreecommitdiff
path: root/tests/test_cmd2.py
diff options
context:
space:
mode:
authorKevin Van Brunt <kmvanbrunt@gmail.com>2020-02-10 11:36:29 -0500
committerKevin Van Brunt <kmvanbrunt@gmail.com>2020-02-10 11:36:29 -0500
commit9f599fb73a5ce0fb2548b94391883f37a0ca173b (patch)
treea540014ec1dabbefa48e30289462d3315c85f7ce /tests/test_cmd2.py
parent48cdf7d984a738e577a0867716804216c474cc18 (diff)
downloadcmd2-git-9f599fb73a5ce0fb2548b94391883f37a0ca173b.tar.gz
Renamed set command's -l/--long flag to -v/--verbose for consistency with help and history commands
Diffstat (limited to 'tests/test_cmd2.py')
-rwxr-xr-xtests/test_cmd2.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_cmd2.py b/tests/test_cmd2.py
index e0b2ba9d..376658e5 100755
--- a/tests/test_cmd2.py
+++ b/tests/test_cmd2.py
@@ -79,7 +79,7 @@ def test_base_argparse_help(base_app):
def test_base_invalid_option(base_app):
out, err = run_cmd(base_app, 'set -z')
- assert err[0] == 'Usage: set [-h] [-l] [param] [value]'
+ assert err[0] == 'Usage: set [-h] [-v] [param] [value]'
assert 'Error: unrecognized arguments: -z' in err[1]
def test_base_shortcuts(base_app):
@@ -103,7 +103,7 @@ def test_base_show(base_app):
def test_base_show_long(base_app):
# force editor to be 'vim' so test is repeatable across platforms
base_app.editor = 'vim'
- out, err = run_cmd(base_app, 'set -l')
+ out, err = run_cmd(base_app, 'set -v')
expected = normalize(SHOW_LONG)
assert out == expected