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

@@ -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
}