mirror of
https://github.com/zsh-users/zsh-syntax-highlighting.git
synced 2025-12-04 21:56:45 +01:00
tests: Fixup last commit.
This commit is contained in:
parent
8f7e9b2af4
commit
6243c99f41
1 changed files with 6 additions and 1 deletions
|
|
@ -28,7 +28,12 @@
|
|||
# vim: ft=zsh sw=2 ts=2 et
|
||||
# -------------------------------------------------------------------------------------------------
|
||||
|
||||
unhash sudo
|
||||
# Simulate sudo not being installed.
|
||||
#
|
||||
# The 'hash' step is because, if sudo _really_ isn't installed, 'unhash sudo'
|
||||
# would error out and break the test.
|
||||
hash sudo=/usr/bin/env && unhash sudo
|
||||
|
||||
local PATH
|
||||
|
||||
BUFFER=$'sudo ls'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue