Ver a proveniência

'main': New XFail test for parameter expansion at command word.

pull/550/head
Daniel Shahaf há 8 anos
committed by Matthew Martin
ascendente
cometimento
76d61360a7
1 ficheiros alterados com 4 adições e 1 eliminações
  1. +4
    -1
      highlighters/main/test-data/commmand-parameter.zsh

+ 4
- 1
highlighters/main/test-data/commmand-parameter.zsh Ver ficheiro

@ -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)
)

Carregando…
Cancelar
Guardar