remove a useless escape in front of the tests print

This commit is contained in:
nojhan 2013-02-20 10:17:46 +01:00
parent b776cd8e64
commit 38e23ff556

View File

@ -7,7 +7,8 @@ print_ok()
local RAZ="\\033[0;39m"
local cols=$1
local name=$2
printf "\e${OK}%-${cols}s %-${cols}s\n${RAZ}" "$name" "OK"
# printf "\e${OK}%-${cols}s %-${cols}s\n${RAZ}" "$name" "OK"
printf "${OK}%-${cols}s %-${cols}s\n${RAZ}" "$name" "OK"
}
print_no()
@ -18,7 +19,8 @@ print_no()
local name=$2
local sub=$3
local line=$4
printf "\e${NOK}%-${cols}s %-${cols}s #%-5s\n${RAZ}" "$name" "$sub" "$line"
# printf "\e${NOK}%-${cols}s %-${cols}s #%-5s\n${RAZ}" "$name" "$sub" "$line"
printf "${NOK}%-${cols}s %-${cols}s #%-5s\n${RAZ}" "$name" "$sub" "$line"
}
assert()