Fix test/run ui_out diff display

This commit is contained in:
Maxime Coste 2019-11-24 17:57:32 +11:00
parent 6f087e899b
commit 8528dcd621

View File

@ -184,7 +184,7 @@ ui_out() {
read -r event <&4
if [ ! "$1" = "$event" ] && [ $failed -eq 0 ]; then
printf "${red}$indent%s${none}\n" "$name"
printf "${indent} - %s\n${indent} ${red}+ %s${none}\n" "$2" "$event"
printf "${indent} ${red}- %s\n${indent} ${green}+ %s${none}\n" "$1" "$event"
failed=1
fi
;;