Commit 50163071 authored by Pierre Smeyers's avatar Pierre Smeyers
Browse files

refactor: comment out fail() to avoid collision with bats-assert

parent b9910041
Loading
Loading
Loading
Loading
+6 −5
Original line number Diff line number Diff line
@@ -11,13 +11,14 @@ function log_warn() {
}

function log_error() {
  >&2 echo -e "[\\e[1;91mERROR\\e[0m] $*"lighthouse
  >&2 echo -e "[\\e[1;91mERROR\\e[0m] $*"
}

function fail() {
  log_error "$*"
  exit 1
}
# commented out to avoid collision with bats-assert
# function fail() {
#   log_error "$*"
#   exit 1
# }

function assert_defined() {
  if [[ -z "$1" ]]