tests: Specify the style key instead of the style itself
This commit is contained in:
@@ -32,6 +32,6 @@ ZSH_HIGHLIGHT_STYLES[redirection]=$unused_highlight
|
||||
BUFFER='<<<foo echo >>&!bar'
|
||||
|
||||
expected_region_highlight=(
|
||||
"1 3 ${(q-)ZSH_HIGHLIGHT_STYLES[redirection]}" # <<<
|
||||
"13 16 ${(q-)ZSH_HIGHLIGHT_STYLES[redirection]}" # >>&!
|
||||
"1 3 redirection" # <<<
|
||||
"13 16 redirection" # >>&!
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user