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

@@ -39,8 +39,8 @@ BUFFER='cd;ls'
# Use $unused_highlight to see that function highlighting has precedence over command and builtin
expected_region_highlight=(
"1 2 ${(q-)ZSH_HIGHLIGHT_STYLES[function]}" # cd
"4 5 ${(q-)ZSH_HIGHLIGHT_STYLES[function]}" # ls
"1 2 function" # cd
"4 5 function" # ls
)
# don't 'unfunction cd ls', since cd() and ls() should still be a functions