Skip to content

Commit 6809635

Browse files
committed
test: add new lib files to setup_libs()
1 parent 93a05cc commit 6809635

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/test_helper.bash

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ function common_setup_file() {
5757
function setup_libs() {
5858
local lib
5959
# Use a loop to allow convenient short-circuiting for some test files
60-
for lib in "log" "utilities" "helpers" "search" "preexec" "colors" "command_duration"; do
60+
for lib in "log" "utilities" "helpers" "search" "preexec" "colors" "history" "preview" "command_duration"; do
6161
load "${BASH_IT?}/lib/${lib}.bash" || return
6262
# shellcheck disable=SC2015 # short-circuit if we've reached the requested library
6363
[[ "${lib}" == "${1:-}" ]] && return 0 || true
@@ -66,7 +66,7 @@ function setup_libs() {
6666
}
6767

6868
function local_setup_file() {
69-
setup_libs "search" # overridable default
69+
setup_libs "command_duration" # overridable default
7070
}
7171

7272
function local_setup() {

0 commit comments

Comments
 (0)