test: add new lib files to `setup_libs()`

pull/2033/head
John D Pell 2022-03-04 14:25:22 -08:00
parent 93a05ccb64
commit 810c52f91a
1 changed files with 2 additions and 2 deletions

View File

@ -57,7 +57,7 @@ function common_setup_file() {
function setup_libs() {
local lib
# Use a loop to allow convenient short-circuiting for some test files
for lib in "log" "utilities" "helpers" "search" "preexec" "colors" "command_duration"; do
for lib in "log" "utilities" "helpers" "search" "colors" "preview" "preexec" "history" "command_duration"; do
load "${BASH_IT?}/lib/${lib}.bash" || return
# shellcheck disable=SC2015 # short-circuit if we've reached the requested library
[[ "${lib}" == "${1:-}" ]] && return 0 || true
@ -66,7 +66,7 @@ function setup_libs() {
}
function local_setup_file() {
setup_libs "search" # overridable default
setup_libs "colors" # overridable default
}
function local_setup() {