better error logging
This commit is contained in:
parent
c490343442
commit
cb8b4cece1
@ -16,9 +16,11 @@ show_discrepancy() {
|
||||
result=$3
|
||||
|
||||
if [ $expect != $actual ];then
|
||||
echo ==========
|
||||
echo "$result"
|
||||
echo ==========
|
||||
red='\033[1;91m'
|
||||
nc='\033[0m'
|
||||
echo -e ${red}==========${nc}
|
||||
echo "$result" | sed 's/^/\t/g'
|
||||
echo -e ${red}==========${nc}
|
||||
fi
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user