test/theme: adopt newly revamped setup()

This commit is contained in:
John D Pell
2022-01-31 11:09:20 -08:00
committed by John D Pell
parent b686515877
commit f0dfe1a67f
3 changed files with 28 additions and 39 deletions

View File

@@ -1,9 +1,14 @@
#!/usr/bin/env bats
# shellcheck shell=bats
# shellcheck disable=SC2034
# shellcheck disable=SC2016
load ../test_helper
load ../test_helper_libs
load ../../themes/githelpers.theme
load ../../themes/base.theme
load "${MAIN_BASH_IT_DIR?}/test/test_helper.bash"
function local_setup_file() {
setup_libs "colors" #"theme"
load "${BASH_IT?}/themes/base.theme.bash"
load "${BASH_IT?}/themes/githelpers.theme.bash"
}
add_commit() {
local file_name="general-${RANDOM}"