before fix empty failure_type on scenario return

This commit is contained in:
pvincent
2026-07-24 08:46:39 +04:00
parent 259fad2925
commit 9817730d7f
2 changed files with 28 additions and 40 deletions
+1 -1
View File
@@ -55,7 +55,7 @@ fail_type return RETURN
failed=$((TEST_COUNT - SUCCESS_COUNT))
if [[ $failed -gt 0 ]]; then
ratio=$((100 * SUCCESS_COUNT / TEST_COUNT))
echo "${ratio}% passed, $failed test have failed!"
echo "${ratio}% passed, $SUCCESS_COUNT succeeded, $failed failed!"
exit 1
else
echo 100% passed!