mirror of
https://github.com/zsh-users/zsh-syntax-highlighting.git
synced 2026-01-22 22:45:36 +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 @@ ZSH_HIGHLIGHT_STYLES[redirection]=$unused_highlight
|
|||
BUFFER='exec {foo}>&/tmp ls'
|
||||
|
||||
expected_region_highlight=(
|
||||
"1 4 ${(q-)ZSH_HIGHLIGHT_STYLES[precommand]}" # exec
|
||||
# TODO: "6 10 ${(q-)ZSH_HIGHLIGHT_STYLES[redirection]} 'issue #238'" # {foo}
|
||||
"11 12 ${(q-)ZSH_HIGHLIGHT_STYLES[redirection]}" # >&
|
||||
"13 16 ${(q-)ZSH_HIGHLIGHT_STYLES[path]}" # /tmp
|
||||
"18 19 ${(q-)ZSH_HIGHLIGHT_STYLES[command]} 'issue #238'" # ls
|
||||
"1 4 precommand" # exec
|
||||
# TODO: "6 10 redirection 'issue #238'" # {foo}
|
||||
"11 12 redirection" # >&
|
||||
"13 16 path" # /tmp
|
||||
"18 19 command 'issue #238'" # ls
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue