marckhouzam / cobra-completion-testing

A set of completion tests for Cobra
MIT License
4 stars 4 forks source link

Remember error code when running many shells #13

Closed marckhouzam closed 2 years ago

marckhouzam commented 2 years ago

This propagates an error when we run multiple shells in one go.

For example when running make which runs tests for both bash and fish, if there was an error for bash, then fish would not run. With this change, the tests for both shells will be run and if there is an error in any, the entire test run will return an error code.