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
|
|
@ -32,7 +32,7 @@ setopt interactive_comments
|
|||
BUFFER='echo "foo #bar" #baz # quux'
|
||||
|
||||
expected_region_highlight=(
|
||||
"1 4 ${(q-)ZSH_HIGHLIGHT_STYLES[command]}" # echo
|
||||
"1 4 ${(q-)ZSH_HIGHLIGHT_STYLES[builtin]}" # echo
|
||||
"6 15 ${(q-)ZSH_HIGHLIGHT_STYLES[double-quoted-argument]}" # "foo #bar"
|
||||
"17 27 ${(q-)ZSH_HIGHLIGHT_STYLES[comment]}" # #baz # quux
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue