test/log: adopt newly revamped `setup()`

pull/2031/head
John D Pell 2022-02-03 21:40:08 -08:00 committed by John D Pell
parent 1ddec65d56
commit e5cd10112c
1 changed files with 5 additions and 6 deletions

View File

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