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

@@ -32,7 +32,7 @@ setopt interactive_comments
BUFFER='echo "foo #bar" #baz # quux'
expected_region_highlight=(
"1 4 ${(q-)ZSH_HIGHLIGHT_STYLES[builtin]}" # echo
"6 15 ${(q-)ZSH_HIGHLIGHT_STYLES[double-quoted-argument]}" # "foo #bar"
"17 27 ${(q-)ZSH_HIGHLIGHT_STYLES[comment]}" # #baz # quux
"1 4 builtin" # echo
"6 15 double-quoted-argument" # "foo #bar"
"17 27 comment" # #baz # quux
)