Skip to content

Commit

Permalink
Fix assertion casing
Browse files Browse the repository at this point in the history
  • Loading branch information
JackPGreen committed Jul 31, 2024
1 parent a2086df commit 8c8c7ae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/brew/test_brew_functions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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"
Expand Down

0 comments on commit 8c8c7ae

Please sign in to comment.