diff options
author | Kevin Van Brunt <kmvanbrunt@gmail.com> | 2019-07-24 11:09:23 -0400 |
---|---|---|
committer | Kevin Van Brunt <kmvanbrunt@gmail.com> | 2019-07-24 11:09:23 -0400 |
commit | f3325cb39e9e20aa24d07107ebf048029059b44f (patch) | |
tree | b7c053bfdf81da5baf78758d0732c7e33af5460e /tests/test_utils.py | |
parent | 325e52451a81b900ac77626a2d2a271854544627 (diff) | |
download | cmd2-git-f3325cb39e9e20aa24d07107ebf048029059b44f.tar.gz |
Fixed a few commands that would have failed if arguments containing quotes were used
Diffstat (limited to 'tests/test_utils.py')
-rw-r--r-- | tests/test_utils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_utils.py b/tests/test_utils.py index edb6ca68..c32d6870 100644 --- a/tests/test_utils.py +++ b/tests/test_utils.py @@ -99,7 +99,7 @@ def test_quote_string_if_needed_yes(): your_str = '"foo" bar' assert cu.quote_string_if_needed(your_str) == "'" + your_str + "'" -def test_quot_string_if_needed_no(): +def test_quote_string_if_needed_no(): my_str = "HelloWorld" assert cu.quote_string_if_needed(my_str) == my_str your_str = "'Hello World'" |