shellspec/shellspec

View on GitHub
lib/libexec/reporter/finished_formatter.sh

Summary

Maintainability
Test Coverage
F
0%
#shellcheck shell=sh disable=SC2154

create_buffers finished

finished_end() {
  finished '=' "Finished in ${time_real:-?} seconds" \
    "(user ${time_user:-?} seconds, sys ${time_sys:-?} seconds)${LF}"
}

finished_output() {
  case $1 in (end)
    finished '>>>'
  esac
}