summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorkotfu <kotfu@kotfu.net>2018-05-17 10:04:47 -0600
committerkotfu <kotfu@kotfu.net>2018-05-17 10:04:47 -0600
commit490c8424c9be872538a5130734f120d0a34fdcaf (patch)
treeed2a665bcda8b583f21b953dc0eadc7945b517fe /tests
parent5c1c427bbe724d1ad002c86c097a6d25ca73909c (diff)
downloadcmd2-git-490c8424c9be872538a5130734f120d0a34fdcaf.tar.gz
Fix bug in sequential terminator logic
Diffstat (limited to 'tests')
-rw-r--r--tests/test_parsing.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_parsing.py b/tests/test_parsing.py
index d147c6a1..7b361b7e 100644
--- a/tests/test_parsing.py
+++ b/tests/test_parsing.py
@@ -263,8 +263,8 @@ def test_parse_redirect_inside_terminator(parser):
def test_parse_multiple_terminators(parser, line, terminator):
statement = parser.parse(line)
assert statement.multiline_command == 'multiline'
- assert statement.args == 'has | inside'
- assert statement.argv == ['multiline', 'has', '|', 'inside']
+ assert statement.args == 'with | inside'
+ assert statement.argv == ['multiline', 'with', '|', 'inside']
assert statement.terminator == terminator
def test_parse_unfinished_multiliine_command(parser):