diff options
author | Todd Leonhardt <todd.leonhardt@gmail.com> | 2018-03-02 20:51:01 -0500 |
---|---|---|
committer | Todd Leonhardt <todd.leonhardt@gmail.com> | 2018-03-02 20:51:01 -0500 |
commit | b657b45dcca6687da43639c49e65ce4b16303d3d (patch) | |
tree | b4647b2bef6f9ba914d6711e5ddeebd82655fb7f /tests/test_cmd2.py | |
parent | 40b52252a3108c8989afd6ca7e64ce9d4116cb4f (diff) | |
download | cmd2-git-b657b45dcca6687da43639c49e65ce4b16303d3d.tar.gz |
Removed support for case-insensitive command parsing
Diffstat (limited to 'tests/test_cmd2.py')
-rw-r--r-- | tests/test_cmd2.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/test_cmd2.py b/tests/test_cmd2.py index 6de86b2d..92f21757 100644 --- a/tests/test_cmd2.py +++ b/tests/test_cmd2.py @@ -88,7 +88,6 @@ def test_base_show_readonly(base_app): base_app.editor = 'vim' out = run_cmd(base_app, 'set -a') expected = normalize(SHOW_TXT + '\nRead only settings:' + """ - Commands are case-sensitive: {} Commands may be terminated with: {} Arguments at invocation allowed: {} Output redirection and pipes allowed: {} @@ -97,7 +96,7 @@ def test_base_show_readonly(base_app): Strip Quotes after splitting arguments: {} Argument type: {} -""".format(not base_app.case_insensitive, base_app.terminators, base_app.allow_cli_args, base_app.allow_redirection, +""".format(base_app.terminators, base_app.allow_cli_args, base_app.allow_redirection, "POSIX" if cmd2.POSIX_SHLEX else "non-POSIX", "True" if cmd2.STRIP_QUOTES_FOR_NON_POSIX and not cmd2.POSIX_SHLEX else "False", "List of argument strings" if cmd2.USE_ARG_LIST else "string of space-separated arguments")) |