From 8c8c7ae7ebdcbacb859c67fbfbad554400496fc9 Mon Sep 17 00:00:00 2001 From: Jack Date: Wed, 31 Jul 2024 22:19:25 +0100 Subject: [PATCH] Fix assertion casing --- packages/brew/test_brew_functions.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/brew/test_brew_functions.sh b/packages/brew/test_brew_functions.sh index 175bcda..3b2428a 100755 --- a/packages/brew/test_brew_functions.sh +++ b/packages/brew/test_brew_functions.sh @@ -15,7 +15,7 @@ function assertAlphanumCamelCase { local expected=$2 local actual=$(alphanumCamelCase "$testValue") local msg="Alphanumeric camel case of $testValue should be equal to $expected" - assert_eq "$expected" "$actual" "$msg" && log_success "$MSG" || TESTS_RESULT=$? + assert_eq "$expected" "$actual" "$msg" && log_success "$msg" || TESTS_RESULT=$? } log_header "Tests for alphanumCamelCase" @@ -37,7 +37,7 @@ function assertBrewClass { local expected=$3 local actual=$(brewClass "$distribution" "$version") local msg="Brew class of $distribution $version should be equal to $expected" - assert_eq "$expected" "$actual" "$msg" && log_success "$MSG" || TESTS_RESULT=$? + assert_eq "$expected" "$actual" "$msg" && log_success "$msg" || TESTS_RESULT=$? } log_header "Tests for brewClass"