tests: Specify the style key instead of the style itself
This commit is contained in:
@@ -31,6 +31,6 @@ x=/usr/bin/env
|
||||
BUFFER='$x "argument"'
|
||||
|
||||
expected_region_highlight=(
|
||||
"1 2 ${(q-)ZSH_HIGHLIGHT_STYLES[command]}" # $x
|
||||
"4 13 ${(q-)ZSH_HIGHLIGHT_STYLES[double-quoted-argument]}" # "argument"
|
||||
"1 2 command" # $x
|
||||
"4 13 double-quoted-argument" # "argument"
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user