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
|
|
@ -30,10 +30,10 @@
|
|||
BUFFER='>/tmp >/tmp sudo echo >/tmp foo'
|
||||
|
||||
expected_region_highlight=(
|
||||
"2 5 ${(q-)ZSH_HIGHLIGHT_STYLES[path]}" # /tmp
|
||||
"8 11 ${(q-)ZSH_HIGHLIGHT_STYLES[path]}" # /tmp
|
||||
"13 16 ${(q-)ZSH_HIGHLIGHT_STYLES[precommand]}" # sudo
|
||||
"18 21 ${(q-)ZSH_HIGHLIGHT_STYLES[builtin]}" # echo
|
||||
"24 27 ${(q-)ZSH_HIGHLIGHT_STYLES[path]}" # /tmp
|
||||
"29 31 ${(q-)ZSH_HIGHLIGHT_STYLES[default]}" # foo
|
||||
"2 5 path" # /tmp
|
||||
"8 11 path" # /tmp
|
||||
"13 16 precommand" # sudo
|
||||
"18 21 builtin" # echo
|
||||
"24 27 path" # /tmp
|
||||
"29 31 default" # foo
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue