tests: Specify the style key instead of the style itself

This commit is contained in:
Matthew Martin
2016-04-24 14:22:24 -05:00
parent c54c076cfa
commit a830613467
70 changed files with 246 additions and 246 deletions

View File

@@ -30,11 +30,11 @@
BUFFER='() echo hello; () { echo world }'
expected_region_highlight=(
"1 2 ${(q-)ZSH_HIGHLIGHT_STYLES[reserved-word]}" # ()
"4 7 ${(q-)ZSH_HIGHLIGHT_STYLES[builtin]}" # echo
"9 13 ${(q-)ZSH_HIGHLIGHT_STYLES[default]}" # hello
"14 14 ${(q-)ZSH_HIGHLIGHT_STYLES[commandseparator]}" # ;
"16 17 ${(q-)ZSH_HIGHLIGHT_STYLES[reserved-word]}" # ()
"19 19 ${(q-)ZSH_HIGHLIGHT_STYLES[reserved-word]}" # {
"21 24 ${(q-)ZSH_HIGHLIGHT_STYLES[builtin]}" # echo
"1 2 reserved-word" # ()
"4 7 builtin" # echo
"9 13 default" # hello
"14 14 commandseparator" # ;
"16 17 reserved-word" # ()
"19 19 reserved-word" # {
"21 24 builtin" # echo
)