Skip to content

Commit

Permalink
tests/shell: remove redundant parentheses
Browse files Browse the repository at this point in the history
  • Loading branch information
HendrikVE committed Feb 7, 2020
1 parent 1b1f968 commit ce3ebb4
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions tests/shell/tests/01-run.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 = '> '
Expand Down

0 comments on commit ce3ebb4

Please sign in to comment.