Standardize BATS helper library installation and loading

This commit is contained in:
Deploy Bot
2025-07-17 20:54:11 -04:00
parent 7f1c78edb0
commit 19d39793c0
2 changed files with 22 additions and 13 deletions

View File

@@ -1,9 +1,10 @@
#!/usr/bin/env bats
# Load BATS helper libraries
load 'test_helper/bats-support/load'
load 'test_helper/bats-assert/load'
load 'test_helper/bats-file/load'
export BATS_LIB_PATH="/usr/local/lib/bats-helpers"
load "$BATS_LIB_PATH/bats-support/load.bash"
load "$BATS_LIB_PATH/bats-assert/load.bash"
load "$BATS_LIB_PATH/bats-file/load.bash"
# Simple test for parse_volume function
@test "parse_volume should parse volume string correctly" {