From bd7c969e7f50b6128023b186c99203dfead6deb4 Mon Sep 17 00:00:00 2001 From: Ivan Pozdeev Date: Tue, 11 Aug 2026 01:51:12 +0300 Subject: [PATCH] test_helper: show diff with whitespace highlights to be able to see tiny and whitespace differences --- test/test_helper.bash | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/test/test_helper.bash b/test/test_helper.bash index 30c04629..8dd403fa 100644 --- a/test/test_helper.bash +++ b/test/test_helper.bash @@ -74,8 +74,7 @@ assert_failure() { assert_equal() { if [ "$1" != "$2" ]; then - { echo "expected: \`$1'" - echo "actual: \`$2'" + { diff -u --label expected --label actual <(echo "$1") <(echo "$2") | cat -te } | flunk fi }