1
0
mirror of https://github.com/pyenv/pyenv.git synced 2025-11-17 15:53:45 -05:00

Bats: path_without: support multiple args

This commit is contained in:
Ivan Pozdeev
2021-09-16 00:34:00 +03:00
parent 6185bb55e6
commit 876be1bb04
3 changed files with 19 additions and 17 deletions

View File

@@ -25,7 +25,7 @@ stub_system_python() {
}
@test "not even system python available" {
PATH="$(path_without python)" run pyenv-versions
PATH="$(path_without python python2 python3)" run pyenv-versions
assert_failure
assert_output "Warning: no Python detected on the system"
}