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,12 +30,12 @@
BUFFER='tar cf - * | (cd /target; tar xfp -) | { cat }'
expected_region_highlight=(
"1 3 ${(q-)ZSH_HIGHLIGHT_STYLES[command]}" # tar
"14 14 ${(q-)ZSH_HIGHLIGHT_STYLES[reserved-word]}" # (
"15 16 ${(q-)ZSH_HIGHLIGHT_STYLES[builtin]}" # cd
"27 29 ${(q-)ZSH_HIGHLIGHT_STYLES[command]}" # tar
"36 36 ${(q-)ZSH_HIGHLIGHT_STYLES[reserved-word]}" # )
"40 40 ${(q-)ZSH_HIGHLIGHT_STYLES[reserved-word]}" # {
"42 44 ${(q-)ZSH_HIGHLIGHT_STYLES[command]}" # cat
"46 46 ${(q-)ZSH_HIGHLIGHT_STYLES[reserved-word]}" # }
"1 3 command" # tar
"14 14 reserved-word" # (
"15 16 builtin" # cd
"27 29 command" # tar
"36 36 reserved-word" # )
"40 40 reserved-word" # {
"42 44 command" # cat
"46 46 reserved-word" # }
)