Compare commits
3 Commits
a5089f815b
..
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
d2470f5892
|
|||
|
72ca5f0ad4
|
|||
|
2d7be5d033
|
+5
-4
@@ -1,4 +1,5 @@
|
||||
std::mod::init tests 0.1.0
|
||||
std::mod::init tests 0.2.1 \
|
||||
"$(eval "$(std::mod::get-self-path)")"
|
||||
|
||||
##
|
||||
# Prints the help menu.
|
||||
@@ -44,8 +45,8 @@ tests::run() {
|
||||
[--cat]=bool
|
||||
[-k]=bool
|
||||
[--keep]=bool
|
||||
[-h]=help
|
||||
[--help]=help
|
||||
[-h]=bool
|
||||
[--help]=bool
|
||||
)
|
||||
|
||||
declare -a clap__arguments=()
|
||||
@@ -93,7 +94,7 @@ tests::run() {
|
||||
if [ "${#clap__arguments[@]}" -gt 0 ]; then
|
||||
local skip_test=1
|
||||
for filter in "${clap__arguments[@]}"; do
|
||||
if grep -qE "^$filter*$" <<<"$prettyname"; then
|
||||
if grep -qE "^$filter.*$" <<<"$prettyname"; then
|
||||
skip_test=0
|
||||
break
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user