File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -127,9 +127,9 @@ function helper::find_files_recursive() {
127
127
local path=" ${1%%/ } "
128
128
129
129
if [[ " $path " == * " *" * ]]; then
130
- eval find " $path " -type f -name ' *[tT]est.sh' | sort | uniq
130
+ eval find " $path " -type f -name ' *[tT]est.sh' | sort -u
131
131
elif [[ -d " $path " ]]; then
132
- find " $path " -type f -name ' *[tT]est.sh' | sort | uniq
132
+ find " $path " -type f -name ' *[tT]est.sh' | sort -u
133
133
else
134
134
echo " $path "
135
135
fi
@@ -201,7 +201,7 @@ function helpers::find_total_tests() {
201
201
pattern+=" .*$filter "
202
202
fi
203
203
204
- grep -r -E " $pattern " --include=" *.sh" " ${files[@]} " 2> /dev/null | wc -l | xargs
204
+ grep -r -E " $pattern " --include=" *[tT]est .sh" " ${files[@]} " 2> /dev/null | wc -l | xargs
205
205
}
206
206
207
207
function helper::load_test_files() {
You can’t perform that action at this time.
0 commit comments