TypedDevs / bashunit

A simple testing library for bash scripts. Test your bash scripts in the fastest and simplest way, discover the most modern bash testing library.
https://bashunit.typeddevs.com
MIT License
316 stars 27 forks source link

fix: `bashunit-e` file isn't created sometimes #253

Closed fabriziofs closed 4 months ago

fabriziofs commented 4 months ago

📚 Description

Replace this text with a short description of your feature/bugfix. Fix failing test due to the way sed command behave in macOS, sometimes the file ./bin/bashunit-e isn't created and the test fails:

image

To avoid this I've added the -f flag to the rm command to in case the ./bin/bashunit-e don't exist the command don't fail and breaks the test, doc related:

image

🔖 Changes

✅ To-do list