mirror of
https://github.com/tw93/Mole.git
synced 2026-02-04 11:31:46 +00:00
chore: auto format code
This commit is contained in:
@@ -67,7 +67,7 @@ if command -v bats > /dev/null 2>&1 && [ -d "tests" ]; then
|
||||
if [[ "$formatter" == "tap" ]]; then
|
||||
if $use_color; then
|
||||
esc=$'\033'
|
||||
if bats --formatter tap "$@" | \
|
||||
if bats --formatter tap "$@" |
|
||||
sed -e "s/^ok /${esc}[32mok ${esc}[0m /" \
|
||||
-e "s/^not ok /${esc}[31mnot ok ${esc}[0m /"; then
|
||||
report_unit_result 0
|
||||
@@ -92,7 +92,7 @@ if command -v bats > /dev/null 2>&1 && [ -d "tests" ]; then
|
||||
else
|
||||
if $use_color; then
|
||||
esc=$'\033'
|
||||
if bats --tap "$@" | \
|
||||
if bats --tap "$@" |
|
||||
sed -e "s/^ok /${esc}[32mok ${esc}[0m /" \
|
||||
-e "s/^not ok /${esc}[31mnot ok ${esc}[0m /"; then
|
||||
report_unit_result 0
|
||||
|
||||
Reference in New Issue
Block a user