tests: Specify the style key instead of the style itself
This commit is contained in:
@@ -31,6 +31,6 @@ ZSH_HIGHLIGHT_STYLES[commandseparator]=$unused_highlight
|
||||
BUFFER='A=1; echo hello world'
|
||||
|
||||
expected_region_highlight=(
|
||||
"4 4 ${(q-)ZSH_HIGHLIGHT_STYLES[commandseparator]}" # ;
|
||||
"6 9 ${(q-)ZSH_HIGHLIGHT_STYLES[builtin]}" # echo
|
||||
"4 4 commandseparator" # ;
|
||||
"6 9 builtin" # echo
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user