tests: Specify the style key instead of the style itself

This commit is contained in:
Matthew Martin
2016-04-24 14:22:24 -05:00
parent c54c076cfa
commit a830613467
70 changed files with 246 additions and 246 deletions

View File

@@ -31,9 +31,9 @@ ZSH_HIGHLIGHT_STYLES[default]=$unused_highlight
BUFFER='!foo bar !baz ! ; !'
expected_region_highlight=(
"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)
"1 4 history-expansion" # !foo
"6 8 default" # bar
"10 13 history-expansion" # !baz
"15 15 default" # ! (before the semicolon)
"19 19 reserved-word" # ! (after the semicolon)
)