mirror of
https://github.com/zsh-users/zsh-syntax-highlighting.git
synced 2026-09-18 00:10:15 +00:00
tests: Specify the style key instead of the style itself
This commit is contained in:
@@ -34,6 +34,6 @@ hash -d D=mydir
|
||||
BUFFER='ls ~D/path-tilde-named.test'
|
||||
|
||||
expected_region_highlight=(
|
||||
"1 2 ${(q-)ZSH_HIGHLIGHT_STYLES[command]}" # ls
|
||||
"4 27 ${(q-)ZSH_HIGHLIGHT_STYLES[path]}" # ~D/path-tilde-named.test
|
||||
"1 2 command" # ls
|
||||
"4 27 path" # ~D/path-tilde-named.test
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user