Display error if pyenv activate was invoked as a command

This commit is contained in:
Yamashita Yuu
2014-01-25 19:14:58 +09:00
parent 1db565b67c
commit 503a51564e
4 changed files with 59 additions and 0 deletions

View File

@@ -85,3 +85,9 @@ EOS
pyenv-virtualenv: cannot activate multiple versions at once: venv venv27
EOS
}
@test "should fail if activate is invoked as a command" {
run pyenv-activate
assert_failure
}