diff --git a/highlighters/main/test-data/command-substitution-unclosed.zsh b/highlighters/main/test-data/command-substitution-unclosed.zsh index 6a2b73d..198e710 100644 --- a/highlighters/main/test-data/command-substitution-unclosed.zsh +++ b/highlighters/main/test-data/command-substitution-unclosed.zsh @@ -37,3 +37,7 @@ expected_region_highlight=( '8 11 builtin' # echo '13 15 default' # bar ) + +if [[ ${(z):-'$('} == '$( ' ]]; then # ignore zsh 5.0.8 bug + expected_region_highlight[2]='3 16 default' # foo$(echo bar +fi diff --git a/highlighters/main/test-data/process-substitution2.zsh b/highlighters/main/test-data/process-substitution2.zsh index da3f41f..dff3108 100644 --- a/highlighters/main/test-data/process-substitution2.zsh +++ b/highlighters/main/test-data/process-substitution2.zsh @@ -41,3 +41,7 @@ expected_region_highlight=( '19 22 builtin' # echo '24 26 default' # foo ) + +if [[ ${(z):-'$('} == '$( ' ]]; then # ignore zsh 5.0.8 bug + expected_region_highlight[6]='17 27 default' # =(echo foo +fi