tests: Specify the style key instead of the style itself
This commit is contained in:
@@ -31,8 +31,8 @@ ZSH_HIGHLIGHT_STYLES[reserved-word]=$unused_highlight
|
||||
BUFFER='repeat "1" do done'
|
||||
|
||||
expected_region_highlight=(
|
||||
"1 6 ${(q-)ZSH_HIGHLIGHT_STYLES[reserved-word]}" # repeat
|
||||
"8 10 ${(q-)ZSH_HIGHLIGHT_STYLES[double-quoted-argument]}" # "1"
|
||||
"12 13 ${(q-)ZSH_HIGHLIGHT_STYLES[reserved-word]}" # do
|
||||
"15 18 ${(q-)ZSH_HIGHLIGHT_STYLES[reserved-word]}" # done
|
||||
"1 6 reserved-word" # repeat
|
||||
"8 10 double-quoted-argument" # "1"
|
||||
"12 13 reserved-word" # do
|
||||
"15 18 reserved-word" # done
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user