From 9a30d6b726a2a61495d842aac0c31b9b88c82c25 Mon Sep 17 00:00:00 2001 From: Brennan Kinney <5098581+polarathene@users.noreply.github.com> Date: Tue, 18 Mar 2025 13:17:11 +1300 Subject: [PATCH] Update test/helper/setup.bash Co-authored-by: Casper --- test/helper/setup.bash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/helper/setup.bash b/test/helper/setup.bash index 3393d640..95b7df28 100644 --- a/test/helper/setup.bash +++ b/test/helper/setup.bash @@ -17,7 +17,7 @@ # This function is internal and should not be used in tests. function __initialize_variables() { 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 exit 1 fi