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[assign]=$unused_highlight
BUFFER='A=1 b=("foo" bar)'
expected_region_highlight=(
"1 3 ${(q-)ZSH_HIGHLIGHT_STYLES[assign]}" # A=1
"5 7 ${(q-)ZSH_HIGHLIGHT_STYLES[assign]}" # b=(
"8 12 ${(q-)ZSH_HIGHLIGHT_STYLES[double-quoted-argument]}" # "foo"
"17 17 ${(q-)ZSH_HIGHLIGHT_STYLES[assign]}" # )
"1 3 assign" # A=1
"5 7 assign" # b=(
"8 12 double-quoted-argument" # "foo"
"17 17 assign" # )
)