tests: Quote style in expected_region_highlight
This commit is contained in:
@@ -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)
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user