mirror of
https://github.com/pyenv/pyenv.git
synced 2026-09-10 07:36:16 -04:00
test_helper: show diff with whitespace highlights
to be able to see tiny and whitespace differences
This commit is contained in:
parent
4a73bd17e2
commit
bd7c969e7f
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue