mirror of
https://github.com/zsh-users/zsh-syntax-highlighting.git
synced 2025-01-30 09:47:13 +08:00
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
|
||||
local -a x; x=(sudo "")
|
||||
|
||||
sudo(){}
|
||||
BUFFER=$'$x -u phy1729 ls'
|
||||
|
||||
expected_region_highlight=(
|
||||
|
Loading…
Reference in New Issue
Block a user