Skip to content

Commit a4f62bf

Browse files
committed
fix: use current_dir in test_spies_work_in_parallel
1 parent 6eca4b0 commit a4f62bf

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

tests/acceptance/parallel_spy_parallel_test.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
#!/usr/bin/env bash
2+
# shellcheck disable=SC2155
23
set -euo pipefail
34

45
function test_spies_work_in_parallel() {
5-
local file1=tests/acceptance/fixtures/test_parallel_spy_file1.sh
6-
local file2=tests/acceptance/fixtures/test_parallel_spy_file2.sh
6+
local file1="$(current_dir)/fixtures/test_parallel_spy_file1.sh"
7+
local file2="$(current_dir)/fixtures/test_parallel_spy_file2.sh"
78

89
./bashunit --parallel "$file1" "$file2"
910
assert_successful_code

0 commit comments

Comments
 (0)