Compare commits
3 Commits
a5089f815b
...
d2470f5892
| 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.
|
# Prints the help menu.
|
||||||
@@ -44,8 +45,8 @@ tests::run() {
|
|||||||
[--cat]=bool
|
[--cat]=bool
|
||||||
[-k]=bool
|
[-k]=bool
|
||||||
[--keep]=bool
|
[--keep]=bool
|
||||||
[-h]=help
|
[-h]=bool
|
||||||
[--help]=help
|
[--help]=bool
|
||||||
)
|
)
|
||||||
|
|
||||||
declare -a clap__arguments=()
|
declare -a clap__arguments=()
|
||||||
@@ -93,7 +94,7 @@ tests::run() {
|
|||||||
if [ "${#clap__arguments[@]}" -gt 0 ]; then
|
if [ "${#clap__arguments[@]}" -gt 0 ]; then
|
||||||
local skip_test=1
|
local skip_test=1
|
||||||
for filter in "${clap__arguments[@]}"; do
|
for filter in "${clap__arguments[@]}"; do
|
||||||
if grep -qE "^$filter*$" <<<"$prettyname"; then
|
if grep -qE "^$filter.*$" <<<"$prettyname"; then
|
||||||
skip_test=0
|
skip_test=0
|
||||||
break
|
break
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user