summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkotfu <kotfu@kotfu.net>2018-05-06 00:22:41 -0600
committerkotfu <kotfu@kotfu.net>2018-05-06 00:22:41 -0600
commit285b45bfa9ae79a936c35fd9c4b0ea0706082a3d (patch)
tree601f9532a85f9bc741b6379034283f495c44174f
parenta0c0db15103a54dba20fb309956a7b3cf90bc645 (diff)
downloadcmd2-git-285b45bfa9ae79a936c35fd9c4b0ea0706082a3d.tar.gz
Oops, fixed an oversight that broke the build
This is what you get for being too hasty when you push.
-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 9e48bcf9..2f3f338f 100644
--- a/tests/test_parsing.py
+++ b/tests/test_parsing.py
@@ -165,11 +165,11 @@ def test_parse_complex_pipe(parser):
('help >> out.txt', '>>'),
('help>>out.txt', '>>'),
])
-def test_parse_redirect(parser,line):
+def test_parse_redirect(parser,line, output):
statement = parser.parse(line)
assert statement.command == 'help'
assert not statement.args
- assert statement.output == '>'
+ assert statement.output == output
assert statement.output_to == 'out.txt'
def test_parse_redirect_with_args(parser):