mirror of
https://github.com/zsh-users/zsh-syntax-highlighting.git
synced 2026-09-18 00:10:15 +00:00
tests: Specify the style key instead of the style itself
This commit is contained in:
@@ -31,5 +31,5 @@ ZSH_HIGHLIGHT_STYLES[double-quoted-argument]=$unused_highlight
|
||||
BUFFER=$'echo "foo1\n'
|
||||
|
||||
expected_region_highlight=(
|
||||
"6 10 ${(q-)ZSH_HIGHLIGHT_STYLES[double-quoted-argument]}" # 'foo2"'
|
||||
"6 10 double-quoted-argument" # 'foo2"'
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user