Skip to content

Commit c9270b9

Browse files
committed
test/preexec: adopt newly revamped setup()
1 parent 83fde0c commit c9270b9

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

test/lib/preexec.bats

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ function local_setup {
111111

112112
@test "lib preexec: __check_precmd_conflict()" {
113113
test_precmd_function_name="test"
114-
load ../test_helper_libs
114+
setup_libs "preexec"
115115

116116
run __check_precmd_conflict "$test_precmd_function_name"
117117
assert_failure
@@ -124,7 +124,7 @@ function local_setup {
124124

125125
@test "lib preexec: __check_preexec_conflict()" {
126126
test_preexec_function_name="test"
127-
load ../test_helper_libs
127+
setup_libs "preexec"
128128

129129
run __check_preexec_conflict "$test_preexec_function_name"
130130
assert_failure
@@ -137,7 +137,7 @@ function local_setup {
137137

138138
@test "lib preexec: safe_append_prompt_command()" {
139139
test_precmd_function_name="test"
140-
load ../test_helper_libs
140+
setup_libs "preexec"
141141

142142
export precmd_functions=()
143143
assert_equal "${precmd_functions[*]}" ""
@@ -151,7 +151,7 @@ function local_setup {
151151

152152
@test "lib preexec: safe_append_preexec()" {
153153
test_preexec_function_name="test"
154-
load ../test_helper_libs
154+
setup_libs "preexec"
155155

156156
export preexec_functions=()
157157
assert_equal "${preexec_functions[*]}" ""

0 commit comments

Comments
 (0)