tests: Fix the last added test to pass when sudo(8) isn't installed.

This commit is contained in:
Daniel Shahaf 2020-02-28 15:22:43 +00:00
parent 3cea1434ae
commit e07c901dfd

View File

@ -32,6 +32,7 @@
# See issue #667 for the case of eliding all words
local -a x; x=(sudo "")
sudo(){}
BUFFER=$'$x -u phy1729 ls'
expected_region_highlight=(