tests: Specify the style key instead of the style itself
This commit is contained in:
@@ -31,7 +31,7 @@ ZSH_HIGHLIGHT_STYLES[assign]=$unused_highlight
|
||||
BUFFER='(A=1)'
|
||||
|
||||
expected_region_highlight=(
|
||||
"1 1 ${(q-)ZSH_HIGHLIGHT_STYLES[reserved-word]}" # (
|
||||
"2 4 ${(q-)ZSH_HIGHLIGHT_STYLES[assign]}" # A=1
|
||||
"5 5 ${(q-)ZSH_HIGHLIGHT_STYLES[reserved-word]} 'issue #231'" # )
|
||||
"1 1 reserved-word" # (
|
||||
"2 4 assign" # A=1
|
||||
"5 5 reserved-word 'issue #231'" # )
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user