Merge pull request #1967 from Airblader/feature-easier-command-diff

Break list of commands in parser test
This commit is contained in:
Michael Stapelberg 2015-09-28 08:25:58 +02:00
commit 34b8a02a36
1 changed files with 28 additions and 1 deletions

View File

@ -144,7 +144,34 @@ is(parser_calls("\nworkspace test"),
################################################################################
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: ^^^^^^^^^^^^^^^",
'error for unknown literal ok');