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 "${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