From 9816fcf05586bcd24f2299649acc1fc46c72581e Mon Sep 17 00:00:00 2001 From: Daniel Shahaf Date: Tue, 27 Oct 2015 05:09:13 +0000 Subject: [PATCH] redirections: Test an infix redirection. --- highlighters/main/test-data/prefix-redirection.zsh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/highlighters/main/test-data/prefix-redirection.zsh b/highlighters/main/test-data/prefix-redirection.zsh index c029509..0eddf0f 100644 --- a/highlighters/main/test-data/prefix-redirection.zsh +++ b/highlighters/main/test-data/prefix-redirection.zsh @@ -27,12 +27,13 @@ # vim: ft=zsh sw=2 ts=2 et # ------------------------------------------------------------------------------------------------- -BUFFER='>/tmp >/tmp sudo echo foo' +BUFFER='>/tmp >/tmp sudo echo >/tmp foo' expected_region_highlight=( "2 5 $ZSH_HIGHLIGHT_STYLES[path]" # /tmp "8 11 $ZSH_HIGHLIGHT_STYLES[path]" # /tmp "13 16 $ZSH_HIGHLIGHT_STYLES[precommand]" # sudo "18 21 $ZSH_HIGHLIGHT_STYLES[builtin]" # echo - "23 25 $ZSH_HIGHLIGHT_STYLES[default]" # foo + "24 27 $ZSH_HIGHLIGHT_STYLES[path]" # /tmp + "29 31 $ZSH_HIGHLIGHT_STYLES[default]" # foo )