diff options
-rw-r--r-- | tests/test_parsing.py | 4 |
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): |