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,7 +31,7 @@ ZSH_HIGHLIGHT_STYLES[assign]=$unused_highlight
BUFFER='(A=1)'
expected_region_highlight=(
"1 1 ${(q-)ZSH_HIGHLIGHT_STYLES[reserved-word]}" # (
"2 4 ${(q-)ZSH_HIGHLIGHT_STYLES[assign]}" # A=1
"5 5 ${(q-)ZSH_HIGHLIGHT_STYLES[reserved-word]} 'issue #231'" # )
"1 1 reserved-word" # (
"2 4 assign" # A=1
"5 5 reserved-word 'issue #231'" # )
)