From d21d3b31da796a7e14fc3abeb512185e21e78488 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 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/highlighters/main/test-data/commmand-parameter.zsh b/highlighters/main/test-data/commmand-parameter.zsh index 355f890..0860e62 100644 --- a/highlighters/main/test-data/commmand-parameter.zsh +++ b/highlighters/main/test-data/commmand-parameter.zsh @@ -28,9 +28,11 @@ # ------------------------------------------------------------------------------------------------- local x=/usr/bin/env -BUFFER='$x "argument"' +local y=sudo +BUFFER='$x "argument"; $y' expected_region_highlight=( "1 2 command" # $x "4 13 double-quoted-argument" # "argument" + "16 17 precommand 'parameter expansion precedes precommand recognition'" # $y (sudo) )