mirror of
https://github.com/zsh-users/zsh-syntax-highlighting.git
synced 2025-12-04 21:56:45 +01:00
tests: Quote style in expected_region_highlight
This commit is contained in:
parent
bb8d325c0c
commit
31ac2b36a9
67 changed files with 239 additions and 239 deletions
|
|
@ -31,9 +31,9 @@ ZSH_HIGHLIGHT_STYLES[default]=$unused_highlight
|
|||
BUFFER='!foo bar !baz ! ; !'
|
||||
|
||||
expected_region_highlight=(
|
||||
"1 4 $ZSH_HIGHLIGHT_STYLES[history-expansion]" # !foo
|
||||
"6 8 $ZSH_HIGHLIGHT_STYLES[default]" # bar
|
||||
"10 13 $ZSH_HIGHLIGHT_STYLES[history-expansion]" # !baz
|
||||
"15 15 $ZSH_HIGHLIGHT_STYLES[default]" # ! (before the semicolon)
|
||||
"19 19 $ZSH_HIGHLIGHT_STYLES[reserved-word]" # ! (after the semicolon)
|
||||
"1 4 ${(q-)ZSH_HIGHLIGHT_STYLES[history-expansion]}" # !foo
|
||||
"6 8 ${(q-)ZSH_HIGHLIGHT_STYLES[default]}" # bar
|
||||
"10 13 ${(q-)ZSH_HIGHLIGHT_STYLES[history-expansion]}" # !baz
|
||||
"15 15 ${(q-)ZSH_HIGHLIGHT_STYLES[default]}" # ! (before the semicolon)
|
||||
"19 19 ${(q-)ZSH_HIGHLIGHT_STYLES[reserved-word]}" # ! (after the semicolon)
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue