1
0
mirror of https://github.com/sstephenson/bats.git synced 2024-11-17 19:52:37 +01:00

exec-test: Replace dirname call with %/*

This commit is contained in:
Mike Bland 2017-02-15 09:44:09 -05:00
parent 93d3cec96f
commit 39440c5782
No known key found for this signature in database
GPG Key ID: 5121C73A6E07384B

View File

@ -26,7 +26,7 @@ else
shift
fi
BATS_TEST_DIRNAME="$(dirname "$BATS_TEST_FILENAME")"
BATS_TEST_DIRNAME="${BATS_TEST_FILENAME%/*}"
BATS_TEST_NAMES=()
load() {