main: Ignore zsh 5.0.8 off by one bug in tests

This commit is contained in:
Matthew Martin
2018-04-04 23:10:54 -05:00
parent 8a93b852ca
commit 9616bfdb20
2 changed files with 8 additions and 0 deletions

View File

@@ -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