zunit-zsh/zunit

Setting local $path variable in assertion methods causes error

molovo opened this issue · 0 comments

In ZSH 5.0 the $path variable is already typecast as an array, and assigning a string to it throws the error path: can't assign initial value for array.

Renaming the variable should fix the issue.