mirror of
https://github.com/tests-always-included/mo.git
synced 2025-11-19 23:34:32 +01:00
Pass shellcheck, more specs are handled, preserve function whitespace
This closes #49.
This commit is contained in:
@@ -3,8 +3,10 @@ cd "${0%/*}" || exit 1
|
||||
. ../run-tests
|
||||
|
||||
testArgs() {
|
||||
local args=$(declare -p MO_FUNCTION_ARGS)
|
||||
echo "${args#*=}"
|
||||
local args
|
||||
# shellcheck disable=SC2031
|
||||
args=$(declare -p MO_FUNCTION_ARGS)
|
||||
echo -n "${args#*=}"
|
||||
}
|
||||
template() {
|
||||
cat <<EOF
|
||||
|
||||
Reference in New Issue
Block a user