test/battery: adopt newly revamped `setup()`
parent
beac9c430a
commit
6e2e0af7f9
|
|
@ -1,9 +1,11 @@
|
||||||
#!/usr/bin/env bats
|
# shellcheck shell=bats
|
||||||
|
|
||||||
load ../test_helper
|
load "${MAIN_BASH_IT_DIR?}/test/test_helper.bash"
|
||||||
load ../test_helper_libs
|
|
||||||
|
|
||||||
load ../../plugins/available/battery.plugin
|
function local_setup_file() {
|
||||||
|
setup_libs "helpers"
|
||||||
|
load "${BASH_IT?}/plugins/available/battery.plugin.bash"
|
||||||
|
}
|
||||||
|
|
||||||
# Sets up the `_command_exists` function so that it only responds `true` if called with
|
# Sets up the `_command_exists` function so that it only responds `true` if called with
|
||||||
# the name of the function that was passed in as an argument to `setup_command_exists`.
|
# the name of the function that was passed in as an argument to `setup_command_exists`.
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue