mirror of
https://github.com/zsh-users/zsh-syntax-highlighting.git
synced 2026-09-18 00:10:15 +00:00
tests: Expect the correct style
This commit is contained in:
@@ -31,7 +31,7 @@ ZSH_HIGHLIGHT_STYLES[assign]=$unused_highlight
|
||||
BUFFER=': command zzzzzz'
|
||||
|
||||
expected_region_highlight=(
|
||||
"1 1 ${(q-)ZSH_HIGHLIGHT_STYLES[command]}" # ls
|
||||
"1 1 ${(q-)ZSH_HIGHLIGHT_STYLES[builtin]}" # :
|
||||
"3 9 ${(q-)ZSH_HIGHLIGHT_STYLES[default]}" # not precommand
|
||||
"11 16 ${(q-)ZSH_HIGHLIGHT_STYLES[default]}" # not unknown-token (since 'zzzzzz' is not a command)
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user