tests: Quote style in expected_region_highlight

This commit is contained in:
Matthew Martin
2016-01-20 00:12:55 -06:00
parent bb8d325c0c
commit 31ac2b36a9
67 changed files with 239 additions and 239 deletions

View File

@@ -31,10 +31,10 @@ ZSH_HIGHLIGHT_STYLES[redirection]=$unused_highlight
BUFFER='sudo 2>./. -u otheruser ls'
expected_region_highlight=(
"1 4 $ZSH_HIGHLIGHT_STYLES[precommand]" # sudo
"6 7 $ZSH_HIGHLIGHT_STYLES[redirection]" # 2>
"8 10 $ZSH_HIGHLIGHT_STYLES[path]" # ./. # a 3-character path, for alignment with sudo-redirection2.zsh
"12 13 $ZSH_HIGHLIGHT_STYLES[single-hyphen-option]" # -u
"15 23 $ZSH_HIGHLIGHT_STYLES[default]" # otheruser
"25 26 $ZSH_HIGHLIGHT_STYLES[command]" # ls
"1 4 ${(q-)ZSH_HIGHLIGHT_STYLES[precommand]}" # sudo
"6 7 ${(q-)ZSH_HIGHLIGHT_STYLES[redirection]}" # 2>
"8 10 ${(q-)ZSH_HIGHLIGHT_STYLES[path]}" # ./. # a 3-character path, for alignment with sudo-redirection2.zsh
"12 13 ${(q-)ZSH_HIGHLIGHT_STYLES[single-hyphen-option]}" # -u
"15 23 ${(q-)ZSH_HIGHLIGHT_STYLES[default]}" # otheruser
"25 26 ${(q-)ZSH_HIGHLIGHT_STYLES[command]}" # ls
)