Split list of command / config directives in tests. (#2345)
This makes adding new directives less prone to merge conflicts.
This commit is contained in:
committed by
Michael Stapelberg
parent
4bec3b9d24
commit
f5945b7c6e
@ -144,34 +144,35 @@ 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>, '[', '" . join("', '", qw(
|
||||
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');
|
||||
|
Reference in New Issue
Block a user