mirror of
https://github.com/rbenv/rbenv.git
synced 2025-01-01 14:45:03 +01:00
test/run: handle optional paths/args for bats
This allows to run a single test file more easily, although that could be done by calling bats directly.
This commit is contained in:
parent
1c772d5ff2
commit
ae2e7a3f0b
1 changed files with 1 additions and 1 deletions
2
test/run
2
test/run
|
@ -6,4 +6,4 @@ if [ -n "$RBENV_NATIVE_EXT" ]; then
|
|||
make -C src
|
||||
fi
|
||||
|
||||
exec bats ${CI:+--tap} test
|
||||
exec bats ${CI:+--tap} "${@:-test}"
|
||||
|
|
Loading…
Reference in a new issue