1
0
mirror of https://github.com/pyenv/pyenv.git synced 2025-11-08 11:33:49 -05:00

upgrade bats to v1.10.0

fix bats warnings
This commit is contained in:
rockandska
2025-09-15 13:38:35 +02:00
parent 68edd564cf
commit 8990110dcf
5 changed files with 32 additions and 13 deletions

View File

@@ -293,10 +293,11 @@ OUT
}
@test "invalid arguments for pyenv-uninstall" {
bats_require_minimum_version 1.5.0
mkdir -p "${PYENV_ROOT}/versions/3.10.3"
mkdir -p "${PYENV_ROOT}/versions/3.10.4"
run pyenv-uninstall -f 3.10.3 --invalid-option 3.10.4
run -127 pyenv-uninstall -f 3.10.3 --invalid-option 3.10.4
assert_failure
assert [ -d "${PYENV_ROOT}/versions/3.10.3" ]