test/log: adopt newly revamped setup()

This commit is contained in:
John D Pell
2022-02-03 21:40:08 -08:00
committed by John D Pell
parent 1ddec65d56
commit e5cd10112c

View File

@@ -1,11 +1,10 @@
#!/usr/bin/env bats # shellcheck shell=bats
load ../test_helper load "${MAIN_BASH_IT_DIR?}/test/test_helper.bash"
load ../../lib/colors
load ../../lib/log function local_setup_file() {
load ../../lib/helpers setup_libs "log"
load ../../plugins/available/base.plugin }
@test "lib log: basic debug logging with BASH_IT_LOG_LEVEL_ALL" { @test "lib log: basic debug logging with BASH_IT_LOG_LEVEL_ALL" {
BASH_IT_LOG_LEVEL=$BASH_IT_LOG_LEVEL_ALL BASH_IT_LOG_LEVEL=$BASH_IT_LOG_LEVEL_ALL