zunit-zsh / zunit

A powerful testing framework for ZSH projects
https://zunit.xyz
MIT License
208 stars 23 forks source link

helpers.zsh: A new helper `evl' <-> eval of the supplied code #105

Closed psprint closed 5 years ago

psprint commented 5 years ago

Hello, the commit provides a new helper – evl – an acronym of eval. It resembles run in any possible way except for one thing – it runs the provided code within current shell, through eval. This allows to test various additional side effects of the tested code and sometimes allows to write a shorter and simpler code, like here: fast-syntax-highlighting/main.zunit, compared to the run-version: fast-syntax-highlighting/example.zunit

psprint commented 5 years ago

Any chance of the PR being merged?