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,8 +31,8 @@ ZSH_HIGHLIGHT_STYLES[reserved-word]=$unused_highlight
BUFFER='repeat "1" do done'
expected_region_highlight=(
"1 6 ${(q-)ZSH_HIGHLIGHT_STYLES[reserved-word]}" # repeat
"8 10 ${(q-)ZSH_HIGHLIGHT_STYLES[double-quoted-argument]}" # "1"
"12 13 ${(q-)ZSH_HIGHLIGHT_STYLES[reserved-word]}" # do
"15 18 ${(q-)ZSH_HIGHLIGHT_STYLES[reserved-word]}" # done
"1 6 reserved-word" # repeat
"8 10 double-quoted-argument" # "1"
"12 13 reserved-word" # do
"15 18 reserved-word" # done
)