We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ed39a1e + f78d4bf commit 018390eCopy full SHA for 018390e
CHANGELOG.md
@@ -4,6 +4,8 @@
4
5
- Add assertions to log file
6
7
+- Improve UX by Removing trailing slashes `/` from the test directories naming output.
8
+
9
## [0.14.0](https://github.com/TypedDevs/bashunit/compare/0.13.0...0.14.0) - 2024-07-14
10
11
- Fix echo does not break test execution results
src/helpers.sh
@@ -86,7 +86,8 @@ function helper::unset_if_exists() {
86
}
87
88
function helper::find_files_recursive() {
89
- local path="$1"
+ ## Remove trailing slash using parameter expansion
90
+ local path="${1%%/}"
91
92
if [[ "$path" == *"*"* ]]; then
93
eval find "$path" -type f -name '*[tT]est.sh' | sort | uniq
0 commit comments