mirror of
https://github.com/zsh-users/zsh-syntax-highlighting.git
synced 2025-12-04 21:56:45 +01:00
tests: Expect the correct style
This commit is contained in:
parent
31ac2b36a9
commit
78290e043b
8 changed files with 13 additions and 13 deletions
|
|
@ -31,10 +31,10 @@ BUFFER='() echo hello; () { echo world }'
|
|||
|
||||
expected_region_highlight=(
|
||||
"1 2 ${(q-)ZSH_HIGHLIGHT_STYLES[reserved-word]}" # ()
|
||||
"4 7 ${(q-)ZSH_HIGHLIGHT_STYLES[command]}" # echo
|
||||
"4 7 ${(q-)ZSH_HIGHLIGHT_STYLES[builtin]}" # echo
|
||||
"9 13 ${(q-)ZSH_HIGHLIGHT_STYLES[default]}" # hello
|
||||
"14 14 ${(q-)ZSH_HIGHLIGHT_STYLES[commandseparator]}" # ;
|
||||
"16 17 ${(q-)ZSH_HIGHLIGHT_STYLES[reserved-word]}" # ()
|
||||
"19 19 ${(q-)ZSH_HIGHLIGHT_STYLES[reserved-word]}" # {
|
||||
"21 24 ${(q-)ZSH_HIGHLIGHT_STYLES[command]}" # echo
|
||||
"21 24 ${(q-)ZSH_HIGHLIGHT_STYLES[builtin]}" # echo
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue