From 9cb7e9a837c37b098db4aaaacc5923d3ae14240a Mon Sep 17 00:00:00 2001 From: Daniel Shahaf Date: Thu, 16 Jan 2020 15:49:27 +0000 Subject: [PATCH] tests: Make sudo-longopt pass when sudo isn't installed. Fixes #673. --- highlighters/main/test-data/sudo-longopt.zsh | 1 + 1 file changed, 1 insertion(+) diff --git a/highlighters/main/test-data/sudo-longopt.zsh b/highlighters/main/test-data/sudo-longopt.zsh index 697f555..ef768bf 100644 --- a/highlighters/main/test-data/sudo-longopt.zsh +++ b/highlighters/main/test-data/sudo-longopt.zsh @@ -28,6 +28,7 @@ # vim: ft=zsh sw=2 ts=2 et # ------------------------------------------------------------------------------------------------- +hash sudo='false' BUFFER='sudo --askpass ls' expected_region_highlight=(