mirror of
https://github.com/pyenv/pyenv.git
synced 2025-11-14 06:13:53 -05:00
Add --bare option to pyenv version (#2783)
This commit is contained in:
committed by
GitHub
parent
90fa430eca
commit
018ca73444
@@ -70,3 +70,12 @@ pyenv-version-without-stderr() {
|
||||
3.3.3 (set by PYENV_VERSION environment variable)
|
||||
OUT
|
||||
}
|
||||
|
||||
@test "--bare prints just the name" {
|
||||
create_version "3.3.3"
|
||||
PYENV_VERSION=3.3.3 run pyenv-version --bare
|
||||
assert_success
|
||||
assert_output <<OUT
|
||||
3.3.3
|
||||
OUT
|
||||
}
|
||||
Reference in New Issue
Block a user