From 9d380805d7efd5325c9080e550d0fe1cffaece0b Mon Sep 17 00:00:00 2001 From: Daniel Shahaf Date: Fri, 24 Jan 2020 00:51:27 +0000 Subject: [PATCH] tests: Unbreak the build on zsh 5.0.8 and older. --- .../main/test-data/param-precommand-option-argument1.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/highlighters/main/test-data/param-precommand-option-argument1.zsh b/highlighters/main/test-data/param-precommand-option-argument1.zsh index fb2ed71..58e51ef 100644 --- a/highlighters/main/test-data/param-precommand-option-argument1.zsh +++ b/highlighters/main/test-data/param-precommand-option-argument1.zsh @@ -29,7 +29,7 @@ # ------------------------------------------------------------------------------------------------- # See also alias-precommand-option-argument1.zsh -local -a sudo_u=(sudo -u) +local -a sudo_u; sudo_u=(sudo -u) sudo(){} BUFFER='$sudo_u phy1729 echo foo'