tests: Quote style in expected_region_highlight
This commit is contained in:
@@ -32,7 +32,7 @@ setopt interactive_comments
|
||||
BUFFER='echo "foo #bar" #baz # quux'
|
||||
|
||||
expected_region_highlight=(
|
||||
"1 4 $ZSH_HIGHLIGHT_STYLES[command]" # echo
|
||||
"6 15 $ZSH_HIGHLIGHT_STYLES[double-quoted-argument]" # "foo #bar"
|
||||
"1 4 ${(q-)ZSH_HIGHLIGHT_STYLES[command]}" # echo
|
||||
"6 15 ${(q-)ZSH_HIGHLIGHT_STYLES[double-quoted-argument]}" # "foo #bar"
|
||||
"17 27 ${(q-)ZSH_HIGHLIGHT_STYLES[comment]}" # #baz # quux
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user