mirror of
https://github.com/pyenv/pyenv-virtualenv.git
synced 2025-11-16 15:33:51 -05:00
Display error if pyenv activate was invoked as a command
This commit is contained in:
@@ -25,3 +25,9 @@ functions -q deactivate; and deactivate
|
||||
pyenv shell --unset
|
||||
EOS
|
||||
}
|
||||
|
||||
@test "should fail if deactivate is invoked as a command" {
|
||||
run pyenv-deactivate
|
||||
|
||||
assert_failure
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user