Update test/helper/setup.bash
Co-authored-by: Casper <casperklein@users.noreply.github.com>
This commit is contained in:
parent
0b8cdd70b9
commit
9a30d6b726
|
@ -17,7 +17,7 @@
|
||||||
# This function is internal and should not be used in tests.
|
# This function is internal and should not be used in tests.
|
||||||
function __initialize_variables() {
|
function __initialize_variables() {
|
||||||
function __check_if_set() {
|
function __check_if_set() {
|
||||||
if [[ -z ${1:-} ]]; then
|
if [[ -z ${!1:-} ]]; then
|
||||||
echo "ERROR: (helper/setup.sh) '${1:?No variable name given to __check_if_set}' is not set" >&2
|
echo "ERROR: (helper/setup.sh) '${1:?No variable name given to __check_if_set}' is not set" >&2
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue