Skip to content

Commit 0a60675

Browse files
committed
fix: bench tests missing test_file var
1 parent 80dffc5 commit 0a60675

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Changelog
22

3+
## Unreleased
4+
5+
- Fix bench tests missing test_file var
6+
37
## [0.25.0](https://github.com/TypedDevs/bashunit/compare/0.23.0...0.24.0) - 2025-10-05
48

59
- Add AI developer tools integration and guidelines

src/runner.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ function runner::load_bench_files() {
6060
for bench_file in "${files[@]}"; do
6161
[[ -f $bench_file ]] || continue
6262
unset BASHUNIT_CURRENT_TEST_ID
63-
export BASHUNIT_CURRENT_SCRIPT_ID="$(helper::generate_id "${test_file}")"
63+
export BASHUNIT_CURRENT_SCRIPT_ID="$(helper::generate_id "${bench_file}")"
6464
# shellcheck source=/dev/null
6565
source "$bench_file"
6666
if ! runner::run_set_up_before_script "$bench_file"; then

0 commit comments

Comments
 (0)