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

@@ -43,9 +43,9 @@ BUFFER='x.alias2; alias1'
expected_region_highlight=()
if [[ "$(type -w x.alias2)" == *suffix* ]]; then
expected_region_highlight+=(
"1 8 ${(q-)ZSH_HIGHLIGHT_STYLES[suffix-alias]}" # x.alias2
"1 8 suffix-alias" # x.alias2
)
fi
expected_region_highlight+=(
"11 16 ${(q-)ZSH_HIGHLIGHT_STYLES[alias]}" # alias1
"11 16 alias" # alias1
)