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

@@ -30,17 +30,17 @@
BUFFER='ps aux | grep java | sort | uniq | tail | head'
expected_region_highlight=(
"1 2 ${(q-)ZSH_HIGHLIGHT_STYLES[command]}" # ps
"4 6 ${(q-)ZSH_HIGHLIGHT_STYLES[default]}" # aux
"8 8 ${(q-)ZSH_HIGHLIGHT_STYLES[commandseparator]}" # |
"10 13 ${(q-)ZSH_HIGHLIGHT_STYLES[command]}" # grep
"15 18 ${(q-)ZSH_HIGHLIGHT_STYLES[default]}" # java
"20 20 ${(q-)ZSH_HIGHLIGHT_STYLES[commandseparator]}" # |
"22 25 ${(q-)ZSH_HIGHLIGHT_STYLES[command]}" # sort
"27 27 ${(q-)ZSH_HIGHLIGHT_STYLES[commandseparator]}" # |
"29 32 ${(q-)ZSH_HIGHLIGHT_STYLES[command]}" # uniq
"34 34 ${(q-)ZSH_HIGHLIGHT_STYLES[commandseparator]}" # |
"36 39 ${(q-)ZSH_HIGHLIGHT_STYLES[command]}" # tail
"41 41 ${(q-)ZSH_HIGHLIGHT_STYLES[commandseparator]}" # |
"43 46 ${(q-)ZSH_HIGHLIGHT_STYLES[command]}" # head
"1 2 command" # ps
"4 6 default" # aux
"8 8 commandseparator" # |
"10 13 command" # grep
"15 18 default" # java
"20 20 commandseparator" # |
"22 25 command" # sort
"27 27 commandseparator" # |
"29 32 command" # uniq
"34 34 commandseparator" # |
"36 39 command" # tail
"41 41 commandseparator" # |
"43 46 command" # head
)