Rewrite some tests for pyenv which was recently imported from rbenv

This commit is contained in:
Yamashita, Yuu 2018-04-02 01:52:42 +00:00
parent 83f97ef2b3
commit 83429344ea

View file

@ -3,14 +3,14 @@
load test_helper
@test "shell integration disabled" {
run rbenv shell
assert_failure "rbenv: shell integration not enabled. Run \`rbenv init' for instructions."
run pyenv shell
assert_failure "pyenv: shell integration not enabled. Run \`pyenv init' for instructions."
}
@test "shell integration enabled" {
eval "$(rbenv init -)"
run rbenv shell
assert_success "rbenv: no shell-specific version configured"
eval "$(pyenv init -)"
run pyenv shell
assert_success "pyenv: no shell-specific version configured"
}
@test "no shell version" {