mirror of
https://github.com/colinear-labs/chain.git
synced 2026-03-04 23:44:24 -08:00
update log formatting
This commit is contained in:
@@ -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 {
|
||||||
|
|||||||
Reference in New Issue
Block a user