1
1
mirror of https://github.com/chubin/cheat.sh.git synced 2024-11-25 23:46:00 +03:00

Show non-printable chars in failed tests

This commit is contained in:
Anatoli Babenia 2020-12-10 20:38:13 +03:00 committed by GitHub
parent d2b8697ea2
commit a365d72585
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -88,7 +88,7 @@ while read -r number test_line; do
if ! diff -u3 results/"$number" "$TMP" > "$TMP2"; then
if [[ $update_tests_results = NO ]]; then
if [ "$show_details" = YES ]; then
cat "$TMP2"
cat -t "$TMP2"
fi
echo "FAILED: [$number] $test_line"
else