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,9 +31,9 @@ PREBUFFER=$'echo foo; echo bar\n\n\n'
|
|||
BUFFER=' echo baz; echo qux'
|
||||
|
||||
expected_region_highlight=(
|
||||
"2 5 ${(q-)ZSH_HIGHLIGHT_STYLES[builtin]}" # echo
|
||||
"7 9 ${(q-)ZSH_HIGHLIGHT_STYLES[default]}" # baz
|
||||
"10 10 ${(q-)ZSH_HIGHLIGHT_STYLES[commandseparator]}" # semicolon
|
||||
"12 15 ${(q-)ZSH_HIGHLIGHT_STYLES[builtin]}" # echo
|
||||
"17 19 ${(q-)ZSH_HIGHLIGHT_STYLES[default]}" # qux
|
||||
"2 5 builtin" # echo
|
||||
"7 9 default" # baz
|
||||
"10 10 commandseparator" # semicolon
|
||||
"12 15 builtin" # echo
|
||||
"17 19 default" # qux
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue