mirror of
https://github.com/zsh-users/zsh-syntax-highlighting.git
synced 2025-12-04 21:56:45 +01:00
tests: Specify the style key instead of the style itself
This commit is contained in:
parent
c54c076cfa
commit
a830613467
70 changed files with 246 additions and 246 deletions
|
|
@ -31,8 +31,8 @@ ZSH_HIGHLIGHT_STYLES[assign]=$unused_highlight
|
|||
BUFFER='(A=(hello world))'
|
||||
|
||||
expected_region_highlight=(
|
||||
"1 1 ${(q-)ZSH_HIGHLIGHT_STYLES[reserved-word]}" # (
|
||||
"2 4 ${(q-)ZSH_HIGHLIGHT_STYLES[assign]}" # A=(
|
||||
"16 16 ${(q-)ZSH_HIGHLIGHT_STYLES[assign]}" # )
|
||||
"17 17 ${(q-)ZSH_HIGHLIGHT_STYLES[reserved-word]}" # )
|
||||
"1 1 reserved-word" # (
|
||||
"2 4 assign" # A=(
|
||||
"16 16 assign" # )
|
||||
"17 17 reserved-word" # )
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue