Break list of all commands into one line per command. This reduces the chances of merge conflicts when

introducing or removing commands and therefore increases maintainability (albeit by only a little).
This commit is contained in:
Ingo Bürk 2015-09-27 19:25:17 +02:00
parent ee5db875c2
commit 90a85c3f52

View File

@ -144,7 +144,34 @@ is(parser_calls("\nworkspace test"),
################################################################################ ################################################################################
is(parser_calls('unknown_literal'), is(parser_calls('unknown_literal'),
"ERROR: Expected one of these tokens: <end>, '[', 'move', 'exec', 'exit', 'restart', 'reload', 'shmlog', 'debuglog', 'border', 'layout', 'append_layout', 'workspace', 'focus', 'kill', 'open', 'fullscreen', 'sticky', 'split', 'floating', 'mark', 'unmark', 'resize', 'rename', 'nop', 'scratchpad', 'title_format', 'mode', 'bar'\n" . "ERROR: Expected one of these tokens: <end>, '[', " .
"'move', " .
"'exec', " .
"'exit', " .
"'restart', " .
"'reload', " .
"'shmlog', " .
"'debuglog', " .
"'border', " .
"'layout', " .
"'append_layout', " .
"'workspace', " .
"'focus', " .
"'kill', " .
"'open', " .
"'fullscreen', " .
"'sticky', " .
"'split', " .
"'floating', " .
"'mark', " .
"'unmark', " .
"'resize', " .
"'rename', " .
"'nop', " .
"'scratchpad', " .
"'title_format', " .
"'mode', " .
"'bar'\n" .
"ERROR: Your command: unknown_literal\n" . "ERROR: Your command: unknown_literal\n" .
"ERROR: ^^^^^^^^^^^^^^^", "ERROR: ^^^^^^^^^^^^^^^",
'error for unknown literal ok'); 'error for unknown literal ok');