From ce3ebb40de2f9d75bc273a5ba87fe8c57dd49408 Mon Sep 17 00:00:00 2001 From: HendrikVE Date: Fri, 7 Feb 2020 13:08:23 +0100 Subject: [PATCH] tests/shell: remove redundant parentheses --- tests/shell/tests/01-run.py | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/tests/shell/tests/01-run.py b/tests/shell/tests/01-run.py index dcf4b5681530..bbe93d78db4e 100755 --- a/tests/shell/tests/01-run.py +++ b/tests/shell/tests/01-run.py @@ -41,19 +41,20 @@ CONTROL_D = DLE+'\x04' CMDS = ( - (CONTROL_C, ('>')), - ('start_test', ('[TEST_START]')), - ('end_test', ('[TEST_END]')), - ('\n', ('>')), + ('start_test', '[TEST_START]'), + ('', 'shell: line is empty\r\n'), + (CONTROL_C, '>'), + ('\n', '>'), ('123456789012345678901234567890123456789012345678901234567890', - ('shell: command not found: ' - '123456789012345678901234567890123456789012345678901234567890')), - ('unknown_command', ('shell: command not found: unknown_command')), + 'shell: command not found: ' + '123456789012345678901234567890123456789012345678901234567890'), + ('unknown_command', 'shell: command not found: unknown_command'), ('help', EXPECTED_HELP), - ('echo a string', ('\"echo\"\"a\"\"string\"')), + ('echo a string', '\"echo\"\"a\"\"string\"'), ('ps', EXPECTED_PS), ('help', EXPECTED_HELP), - ('reboot', ('test_shell.')) + ('reboot', 'test_shell.'), + ('end_test', '[TEST_END]'), ) PROMPT = '> '