From: Ingo Bürk Date: Sun, 27 Sep 2015 17:25:17 +0000 (+0200) Subject: Break list of all commands into one line per command. This reduces the chances of... X-Git-Tag: 4.11~1^2 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=refs%2Fpull%2F1967%2Fhead;p=i3%2Fi3 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). --- diff --git a/testcases/t/187-commands-parser.t b/testcases/t/187-commands-parser.t index 8aff1f6d..4f555b29 100644 --- a/testcases/t/187-commands-parser.t +++ b/testcases/t/187-commands-parser.t @@ -144,7 +144,34 @@ is(parser_calls("\nworkspace test"), ################################################################################ is(parser_calls('unknown_literal'), - "ERROR: Expected one of these tokens: , '[', '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: , '[', " . + "'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');