diff --git a/scripts/validate-param.sh b/scripts/validate-param.sh index 566a89d..028dffa 100755 --- a/scripts/validate-param.sh +++ b/scripts/validate-param.sh @@ -43,10 +43,12 @@ echo "${PARAMS}" | jq -c 'to_entries | .[]' | while read -r step; do fi if [ "${ACTUAL_VALUE}" != "${EXPECTED_VALUE}" ]; then - echo "The parameter ${PARAM} for step ${STEP_ID} is not set to ${EXPECTED_VALUE}. Current value: ${ACTUAL_VALUE}" + echo "Unexpected \"${PARAM}\" for step \"${STEP_ID}\"" + echo " expected: ${EXPECTED_VALUE}" + echo " got: ${ACTUAL_VALUE}" exit 1 fi - echo "The parameter ${PARAM} for step ${STEP_ID} is correctly set to ${EXPECTED_VALUE}." + echo "Passed" done done