1
0
mirror of https://github.com/chubin/cheat.sh.git synced 2026-06-20 13:16:44 +02:00

Merge pull request #269 from chubin/invisible-fail

Show non-printable chars in failed tests
This commit is contained in:
Igor Chubin
2021-01-01 13:01:23 +01:00
committed by GitHub
+1 -1
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