summaryrefslogtreecommitdiff
path: root/tests/test_shlexparsing.py
diff options
context:
space:
mode:
authorkotfu <kotfu@kotfu.net>2018-04-22 17:11:11 -0600
committerkotfu <kotfu@kotfu.net>2018-04-22 17:11:11 -0600
commit829c36cb22fd7f3b71548c1b742d40e7609a3aca (patch)
treeff6940ec104e6a87a92412595aa655e44968b77b /tests/test_shlexparsing.py
parent2145115a1567284807389ffc771fa0222071e09e (diff)
downloadcmd2-git-829c36cb22fd7f3b71548c1b742d40e7609a3aca.tar.gz
refactor Command() to Statement(str)
- Command class renamed to Statement, and is now a subclass of str. - str’s are immutable, and the string needs to contain the arguments, so revise the parseString method
Diffstat (limited to 'tests/test_shlexparsing.py')
-rw-r--r--tests/test_shlexparsing.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/test_shlexparsing.py b/tests/test_shlexparsing.py
index 5d3c9546..9142e178 100644
--- a/tests/test_shlexparsing.py
+++ b/tests/test_shlexparsing.py
@@ -5,6 +5,8 @@ Unit/functional testing for ply based parsing in cmd2
Todo List
- multiline
- case sensitive flag
+- checkout Cmd2.parseline() function which parses and expands shortcuts and such
+ this code should probably be included in CommandParser
Notes: