test: add new lib files to `setup_libs()`
parent
93a05ccb64
commit
810c52f91a
|
|
@ -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() {
|
||||
|
|
|
|||
Loading…
Reference in New Issue