From 5737a1606a1ac4b017ac955e82636058355d8e65 Mon Sep 17 00:00:00 2001 From: Anatoli Babenia Date: Thu, 30 Jul 2020 22:43:32 +0300 Subject: [PATCH] Use unified diff format --- tests/run-tests.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/run-tests.sh b/tests/run-tests.sh index 0d2552e..1a3019a 100644 --- a/tests/run-tests.sh +++ b/tests/run-tests.sh @@ -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