diff options
author | Todd Leonhardt <todd.leonhardt@gmail.com> | 2017-02-06 22:35:44 -0500 |
---|---|---|
committer | Todd Leonhardt <todd.leonhardt@gmail.com> | 2017-02-06 22:35:44 -0500 |
commit | 0aaa9d3d0a2593b9092f3e10c9a06f739fd84fd3 (patch) | |
tree | 1fe30797b044254cf7864d1e0d91851bb87fd33b /tests/test_transcript.py | |
parent | 4a6bcefbc72018c90534139c706c2b9d3d327810 (diff) | |
download | cmd2-git-0aaa9d3d0a2593b9092f3e10c9a06f739fd84fd3.tar.gz |
Experiment with different modes of parsing command-line arguments for option commands.
This is an experiment with usin non-POSIX parsing of the command line with shlex before passing it to the optparse OptionParser. The posix vs non-posix setitng primarily effects how quotes and escape characters are dealt with.
I'm experimenting with various options to see what may feel the most natural for the majority of end users.
Diffstat (limited to 'tests/test_transcript.py')
-rw-r--r-- | tests/test_transcript.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_transcript.py b/tests/test_transcript.py index d699f545..7e89180a 100644 --- a/tests/test_transcript.py +++ b/tests/test_transcript.py @@ -204,7 +204,7 @@ Options: def test_comment_stripping(_cmdline_app): out = run_cmd(_cmdline_app, 'speak it was /* not */ delicious! # Yuck!') - expected = normalize("""it was delicious!""") + expected = normalize("""it was delicious!""") assert out == expected |