update log formatting
parent
713f96d311
commit
6c4ad8c55d
|
@ -122,19 +122,19 @@ function expect_fail {
|
|||
}
|
||||
|
||||
function log_info {
|
||||
printf "[INFO]\t$1\n"
|
||||
printf "[ INFO ]\t$1\n"
|
||||
}
|
||||
|
||||
function log_test {
|
||||
printf "$(fmt_cyan [TEST])\t$1\n"
|
||||
printf "$(fmt_cyan '[ TEST ]')\t\t$1\n"
|
||||
}
|
||||
|
||||
function log_ok {
|
||||
printf "$(fmt_green [OK])\t"
|
||||
printf "$(fmt_green '[ OK ]')\t"
|
||||
}
|
||||
|
||||
function log_fail {
|
||||
printf "$(fmt_red [FAIL])\t"
|
||||
printf "$(fmt_red '[ FAIL ]')\t"
|
||||
}
|
||||
|
||||
function fmt_red {
|
||||
|
|
Loading…
Reference in New Issue