Skip to content

Commit

Permalink
fixup! fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
o-orand committed Jan 18, 2024
1 parent ee19aef commit 4a1fdd8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/on-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,9 +78,9 @@ jobs:
output_value=$(eval $output)
expected=$(echo "echo \$EXPECTED_$o")
expected_value=$(eval $expected)
if [ $expected_value != $output_value ];then
if [[ "$expected_value" != "$output_value" ]];then
failure="true"
echo "ERROR: expected_value ($expected_value) != output_value ($output_value)"
echo "ERROR: $o - expected_value ($expected_value) != output_value ($output_value)"
fi
done
if [ "$failure" = "true" ]; then
Expand Down Expand Up @@ -139,9 +139,9 @@ jobs:
output_value=$(eval $output)
expected=$(echo "echo \$EXPECTED_$o")
expected_value=$(eval $expected)
if [ $expected_value != $output_value ];then
if [[ "$expected_value" != "$output_value" ]];then
failure="true"
echo "ERROR: expected_value ($expected_value) != output_value ($output_value)"
echo "ERROR: $o - expected_value ($expected_value) != output_value ($output_value)"
fi
done
if [ "$failure" = "true" ]; then
Expand Down

0 comments on commit 4a1fdd8

Please sign in to comment.