tests: Specify the style key instead of the style itself
This commit is contained in:
@@ -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" # }
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user