summaryrefslogtreecommitdiff
path: root/tests/test_shlexparsing.py
diff options
context:
space:
mode:
authorkotfu <kotfu@kotfu.net>2018-04-24 22:40:29 -0600
committerkotfu <kotfu@kotfu.net>2018-04-24 22:40:29 -0600
commit9170550b2a32a763dafc1d7b14b43d97c542a0db (patch)
tree9576f7285c1631db8da8b2b06f47cab56a03a11f /tests/test_shlexparsing.py
parent8297d4d1c0a4f56c6c952059fb7fc2b43b1050ed (diff)
downloadcmd2-git-9170550b2a32a763dafc1d7b14b43d97c542a0db.tar.gz
Add test for alias expansion on incomplete multiline commands
Diffstat (limited to 'tests/test_shlexparsing.py')
-rw-r--r--tests/test_shlexparsing.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/test_shlexparsing.py b/tests/test_shlexparsing.py
index 2ff79641..c9f2e85a 100644
--- a/tests/test_shlexparsing.py
+++ b/tests/test_shlexparsing.py
@@ -11,6 +11,13 @@ Todo List
- rename test_shlexparsing.py to test_parsing.py
- look at parsed() - expands aliases and shortcuts, see if it can be refactored
+Questions:
+- say I have a command called 'fred' which is a multiline command. If I make an alias
+ for fred called 'george' is george a multiline command? I think the answer is yes.
+ If you want a multi-line synonym for a command that isn't multiline, do it like
+ example.py does. If the answer is no, then I need to rework StatementParser.parse()
+-
+
Notes:
- valid comment styles: