-
- Notifications
You must be signed in to change notification settings - Fork 42
Upgrade option #227
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Upgrade option #227
Conversation
| @gpuligundla We have already made the changes we told you about to your contribution, we have made some small changes in the implementation and improved the tests Thank you again for help us! |
Co-authored-by: Antonio Gonzalez Gea <katarn@katarn.es>
| ./bin/bashunit | ||
| | ||
| if [[ $_OS == "OSX" ]]; then | ||
| rm ./bin/bashunit-e |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
./bin/bashunit-e, is that correct?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, it's correct. This is because sed behaves a it different in macOS than others.
Concretely, the option -e is used for regex in linux; while in macOS it's not needed and then it's appending -e to the file: therefore it generates a new file named 'bashunit-e' 🤣
To keep it simple, @Tito-Kati and I decided simply rm that file and we are good to go.
| | ||
| function test_do_not_update_on_consecutive_calls() { | ||
| todo "enable this test when --upgrade is released" | ||
| # sed -i -e \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👀
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes, this is intentional, we will uncomment this (and enable this test) once we have --upgrade released in the next version.
📚 Description
Closes #143
🔖 Changes
✅ To-do list
CHANGELOG.mdto reflect the new feature or fix