aboutsummaryrefslogtreecommitdiff
path: root/tests/common.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/common.sh')
-rw-r--r--tests/common.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/common.sh b/tests/common.sh
index 1047708..965975c 100644
--- a/tests/common.sh
+++ b/tests/common.sh
@@ -57,7 +57,7 @@ function assert_stdout_text() {
echo "----------------------------------------------"
echo "Test failed: executable returned non-0 code"
echo "----------------------------------------------"
- echo "$code"
+ echo "$1"
exit 1
fi
if [[ "$output" != $2 ]]