tests: Specify the style key instead of the style itself
This commit is contained in:
@@ -30,7 +30,7 @@
|
||||
BUFFER=': "${foo}bar"'
|
||||
|
||||
expected_region_highlight=(
|
||||
"3 3 ${(q-)ZSH_HIGHLIGHT_STYLES[double-quoted-argument]}" # "
|
||||
"4 9 ${(q-)ZSH_HIGHLIGHT_STYLES[dollar-double-quoted-argument]}" # ${foo}
|
||||
"10 13 ${(q-)ZSH_HIGHLIGHT_STYLES[double-quoted-argument]}" # bar"
|
||||
"3 3 double-quoted-argument" # "
|
||||
"4 9 dollar-double-quoted-argument" # ${foo}
|
||||
"10 13 double-quoted-argument" # bar"
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user