From 76d61360a7499d674bf0e300b2a5b77d044c71a8 Mon Sep 17 00:00:00 2001 From: Daniel Shahaf Date: Thu, 28 Jul 2016 22:41:23 +0000 Subject: [PATCH] 'main': New XFail test for parameter expansion at command word. --- highlighters/main/test-data/commmand-parameter.zsh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/highlighters/main/test-data/commmand-parameter.zsh b/highlighters/main/test-data/commmand-parameter.zsh index 07dfc4c..5cded9b 100644 --- a/highlighters/main/test-data/commmand-parameter.zsh +++ b/highlighters/main/test-data/commmand-parameter.zsh @@ -28,10 +28,13 @@ # ------------------------------------------------------------------------------------------------- local x=/usr/bin/env -BUFFER='$x "argument"' +local y=sudo +BUFFER='$x "argument"; $y' expected_region_highlight=( "1 2 command" # $x "4 13 default" # "argument" "4 13 double-quoted-argument" # "argument" + "14 14 commandseparator" # ; + "16 17 precommand 'parameter expansion precedes precommand recognition'" # $y (sudo) )