update log formatting

master
michael 2022-09-05 00:50:40 +00:00
parent 713f96d311
commit 6c4ad8c55d
1 changed files with 4 additions and 4 deletions

View File

@ -122,19 +122,19 @@ function expect_fail {
} }
function log_info { function log_info {
printf "[INFO]\t$1\n" printf "[ INFO ]\t$1\n"
} }
function log_test { function log_test {
printf "$(fmt_cyan [TEST])\t$1\n" printf "$(fmt_cyan '[ TEST ]')\t\t$1\n"
} }
function log_ok { function log_ok {
printf "$(fmt_green [OK])\t" printf "$(fmt_green '[ OK ]')\t"
} }
function log_fail { function log_fail {
printf "$(fmt_red [FAIL])\t" printf "$(fmt_red '[ FAIL ]')\t"
} }
function fmt_red { function fmt_red {