This commit is contained in:
Timo Schmidt 2023-05-03 22:04:37 +02:00
parent 6d68483c2d
commit 274114ffad
3 changed files with 3 additions and 3 deletions

View File

@ -15,7 +15,7 @@ if [ ! "${?}" = "0" ] || [ ! -f "${tmp_out}" ]; then
fi
printf "%s\n" "Testing ${SRC}"
printf "Expected | Success\n"
printf "Expected --> Success\n"
diff --expand-tabs --left-column --width="60" --side-by-side --label="Expected Output" --label=" Test Output" -- <("${tmp_out}" 2>&1 1>/dev/null) <("${tmp_out}" 2>/dev/null) && { printf "\e[102;30m%s\e[m\n" "All tests passed"; exit_status="0"; } || { printf "\e[101;37m%s\e[m\n" "At least one test failed"; exit_status="1"; }
rm -f -- "${tmp_out}"

View File

@ -15,7 +15,7 @@ if [ ! "${?}" = "0" ] || [ ! -f "${tmp_out}" ]; then
fi
printf "%s\n" "Testing ${SRC}"
printf "Expected | Success\n"
printf "Expected --> Success\n"
diff --expand-tabs --left-column --width="60" --side-by-side --label="Expected Output" --label=" Test Output" -- <("${tmp_out}" 2>&1 1>/dev/null) <("${tmp_out}" 2>/dev/null) && { printf "\e[102;30m%s\e[m\n" "All tests passed"; exit_status="0"; } || { printf "\e[101;37m%s\e[m\n" "At least one test failed"; exit_status="1"; }
rm -f -- "${tmp_out}"

View File

@ -15,7 +15,7 @@ if [ ! "${?}" = "0" ] || [ ! -f "${tmp_out}" ]; then
fi
printf "%s\n" "Testing ${SRC}"
printf "Expected | Success\n"
printf "Expected --> Success\n"
diff --expand-tabs --left-column --width="60" --side-by-side --label="Expected Output" --label=" Test Output" -- <("${tmp_out}" 2>&1 1>/dev/null) <("${tmp_out}" 2>/dev/null) && { printf "\e[102;30m%s\e[m\n" "All tests passed"; exit_status="0"; } || { printf "\e[101;37m%s\e[m\n" "At least one test failed"; exit_status="1"; }
rm -f -- "${tmp_out}"