Followup to last: Don't require 'sudo' to test prefix redirections.
This commit is contained in:
parent
d04c62a224
commit
8d37377644
@ -27,15 +27,13 @@
|
|||||||
# vim: ft=zsh sw=2 ts=2 et
|
# vim: ft=zsh sw=2 ts=2 et
|
||||||
# -------------------------------------------------------------------------------------------------
|
# -------------------------------------------------------------------------------------------------
|
||||||
|
|
||||||
type sudo >/dev/null || skip_test='sudo must be present'
|
BUFFER='>/tmp >/tmp command echo >/tmp foo'
|
||||||
|
|
||||||
BUFFER='>/tmp >/tmp sudo echo >/tmp foo'
|
|
||||||
|
|
||||||
expected_region_highlight=(
|
expected_region_highlight=(
|
||||||
"2 5 path" # /tmp
|
"2 5 path" # /tmp
|
||||||
"8 11 path" # /tmp
|
"8 11 path" # /tmp
|
||||||
"13 16 precommand" # sudo
|
"13 19 precommand" # command
|
||||||
"18 21 builtin" # echo
|
"21 24 builtin" # echo
|
||||||
"24 27 path" # /tmp
|
"27 30 path" # /tmp
|
||||||
"29 31 default" # foo
|
"32 34 default" # foo
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user