tests: Improve tests by using $unused_highlight.

The default for [redirection] is 'none', so it wasn't actually being tested.
This commit is contained in:
Daniel Shahaf 2015-11-29 02:53:58 +00:00
parent 09c4114eb9
commit 46cd970bc4
2 changed files with 2 additions and 0 deletions

View file

@ -27,6 +27,7 @@
# vim: ft=zsh sw=2 ts=2 et
# -------------------------------------------------------------------------------------------------
ZSH_HIGHLIGHT_STYLES[redirection]=$unused_highlight
BUFFER='sudo -u >/tmp otheruser ls; sudo ls; sudo -i ls'
expected_region_highlight=(

View file

@ -27,6 +27,7 @@
# vim: ft=zsh sw=2 ts=2 et
# -------------------------------------------------------------------------------------------------
ZSH_HIGHLIGHT_STYLES[redirection]=$unused_highlight
BUFFER='sudo >/tmp -u otheruser ls'
expected_region_highlight=(