tests: Fix the last added test to pass when sudo(8) isn't installed.
This commit is contained in:
parent
3cea1434ae
commit
e07c901dfd
|
@ -32,6 +32,7 @@
|
||||||
# See issue #667 for the case of eliding all words
|
# See issue #667 for the case of eliding all words
|
||||||
local -a x; x=(sudo "")
|
local -a x; x=(sudo "")
|
||||||
|
|
||||||
|
sudo(){}
|
||||||
BUFFER=$'$x -u phy1729 ls'
|
BUFFER=$'$x -u phy1729 ls'
|
||||||
|
|
||||||
expected_region_highlight=(
|
expected_region_highlight=(
|
||||||
|
|
Loading…
Reference in New Issue