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

Use unified diff format

This commit is contained in:
Anatoli Babenia
2020-07-30 22:43:32 +03:00
parent 1387f8b6f8
commit 5737a1606a
+1 -1
View File
@@ -82,7 +82,7 @@ while read -r number test_line; do
eval "curl -s $CHTSH_URL/$test_line" > "$TMP"
fi
if ! diff results/"$number" "$TMP" > "$TMP2"; then
if ! diff -u3 results/"$number" "$TMP" > "$TMP2"; then
if [ "$show_details" = YES ]; then
cat "$TMP2"
fi